diff options
author | Jim Meyering <jim@meyering.net> | 1996-12-03 02:32:44 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-12-03 02:32:44 +0000 |
commit | 4accfeb4e0ef38fe758caabebf69045b362e2840 (patch) | |
tree | a8a6fec4a206232ee4dc13bd7d6252881cf586ab | |
parent | 377b0c794233c99f200b9200d16ded32829454a9 (diff) | |
download | coreutils-4accfeb4e0ef38fe758caabebf69045b362e2840.tar.xz |
[!S_IXUGO] (S_IXUGO): Define it.
-rw-r--r-- | src/system.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/system.h b/src/system.h index 873bf78ad..c46451fc0 100644 --- a/src/system.h +++ b/src/system.h @@ -68,7 +68,6 @@ #define S_IEXEC S_IXUSR #endif -#ifdef S_IEXEC #ifndef S_IXUSR #define S_IXUSR S_IEXEC #endif @@ -78,7 +77,9 @@ #ifndef S_IXOTH #define S_IXOTH (S_IEXEC >> 6) #endif -#endif /* S_IEXEC */ +#ifndef S_IXUGO +#define S_IXUGO (S_IXUSR | S_IXGRP | S_IXOTH) +#endif #if !defined(HAVE_MKFIFO) #define mkfifo(path, mode) (mknod ((path), (mode) | S_IFIFO, 0)) |