Bruno Haible <[EMAIL PROTECTED]> writes:
> BeOS has no quotas and no EDQUOT. Fortunately it is easy to fix.
Thanks. I installed the following slightly-different fix, since we
tend to put those defns in system.h.
2006-08-23 Paul Eggert <[EMAIL PROTECTED]>
* src/system.h (EDQUOT): Define if not already defined.
Problem reported by Bruno Haible for BeOS.
--- src/system.h 21 Aug 2006 07:30:47 -0000 1.153
+++ src/system.h 23 Aug 2006 19:14:07 -0000
@@ -104,12 +104,15 @@ you must include <sys/types.h> before in
#include <errno.h>
/* Some systems don't define the following symbols. */
-#ifndef ENOSYS
-# define ENOSYS (-1)
+#ifndef EDQUOT
+# define EDQUOT (-1)
#endif
#ifndef EISDIR
# define EISDIR (-1)
#endif
+#ifndef ENOSYS
+# define ENOSYS (-1)
+#endif
#include <stdbool.h>
#include <stdlib.h>
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils