[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: coreutils-6.0 on BeOS (7)
From: |
Paul Eggert |
Subject: |
Re: coreutils-6.0 on BeOS (7) |
Date: |
Wed, 23 Aug 2006 12:14:59 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
Bruno Haible <address@hidden> 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 <address@hidden>
* 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>