#1 Support newer OS.

open-accepted
None
5
2011-05-22
2009-10-27
No

Hi,

Ruiby-quota dosen't compile on newer operating systems. Here is a patch to fix these problem.

* Compile problem on NetBSD 4.0 and later.
* Compile problem on DragonFly BSD.
* Compile problem on Linux 2.6.x.
* Module's version is still "0.4.1" although this extention module's version os "0.5.1".
* Portability fix in rb_quotactl().

Attached patch would be fix these problems.

Best regards.

Discussion

  • Takahiro Kambe

    Takahiro Kambe - 2009-10-27

    fix portability problem.

     
  • Gabor Garami

    Gabor Garami - 2009-11-28

    A small additional patch to avoid sigsegv on x86_64 (sorry, i don't find upload button):

    --- quota.c.orig 2009-11-28 21:22:31.000000000 +0100
    +++ quota.c 2009-11-28 21:24:18.000000000 +0100
    @@ -468,7 +468,7 @@
    "curinodes",
    "btimelimit",
    "itimelimit",
    - 0);
    + NULL);

    /* for compatibility */
    #define DQ_ALIAS(a,b) rb_alias(rb_sDiskQuota,rb_intern(#a),rb_intern(#b))

     
  • Takahiro Kambe

    Takahiro Kambe - 2011-05-22
    • assigned_to: nobody --> taca
    • status: open --> open-accepted
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks