diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-04-01 19:31:06 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-04-01 19:31:06 -0400 |
commit | fd427c4eaeed4d1099acc7b6188e41c6cfa5bca5 (patch) | |
tree | 967ce8c4489f4a9167239d03a66f4ab79dcbe736 /include | |
parent | abfe1f65417a75b39fdcb2bf673c1d75bbee1204 (diff) | |
download | musl-fd427c4eaeed4d1099acc7b6188e41c6cfa5bca5.tar.gz musl-fd427c4eaeed4d1099acc7b6188e41c6cfa5bca5.tar.bz2 musl-fd427c4eaeed4d1099acc7b6188e41c6cfa5bca5.tar.xz musl-fd427c4eaeed4d1099acc7b6188e41c6cfa5bca5.zip |
move O_PATH definition back to arch bits
while it's the same for all presently supported archs, it differs at
least on sparc, and conceptually it's no less arch-specific than the
other O_* macros. O_SEARCH and O_EXEC are still defined in terms of
O_PATH in the main fcntl.h.
Diffstat (limited to 'include')
-rw-r--r-- | include/fcntl.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/fcntl.h b/include/fcntl.h index f5bfebc8..ebd5c304 100644 --- a/include/fcntl.h +++ b/include/fcntl.h @@ -37,9 +37,8 @@ int openat(int, const char *, int, ...); int posix_fadvise(int, off_t, off_t, int); int posix_fallocate(int, off_t, off_t); -#define O_SEARCH 010000000 -#define O_EXEC 010000000 -#define O_PATH 010000000 +#define O_SEARCH O_PATH +#define O_EXEC O_PATH #define O_ACCMODE (03|O_SEARCH) #define O_RDONLY 00 |