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.
fix portability problem.
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))