summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-10-05 00:26:49 -0400
committerRich Felker <dalias@aerifal.cx>2011-10-05 00:26:49 -0400
commite6d765a8b1278e9e5f507638ccdec9fe40e52364 (patch)
tree23a6c716745ca184b42c3615d53439f7341e92d7
parent73f5ff4e8646a5fddbeae5070a53f05870e51dd1 (diff)
downloadmusl-e6d765a8b1278e9e5f507638ccdec9fe40e52364.tar.gz
musl-e6d765a8b1278e9e5f507638ccdec9fe40e52364.tar.bz2
musl-e6d765a8b1278e9e5f507638ccdec9fe40e52364.tar.xz
musl-e6d765a8b1278e9e5f507638ccdec9fe40e52364.zip
fix fcntl O_* flags for arm
no idea why these 4 are permuted and the rest are standard/generic
-rw-r--r--arch/arm/bits/fcntl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/bits/fcntl.h b/arch/arm/bits/fcntl.h
index 33a5185c..9db4258c 100644
--- a/arch/arm/bits/fcntl.h
+++ b/arch/arm/bits/fcntl.h
@@ -7,13 +7,13 @@
#define O_DSYNC 010000
#define O_SYNC 04010000
#define O_RSYNC 04010000
-#define O_DIRECTORY 0200000
-#define O_NOFOLLOW 0400000
+#define O_DIRECTORY 040000
+#define O_NOFOLLOW 0100000
#define O_CLOEXEC 02000000
#define O_ASYNC 020000
-#define O_DIRECT 040000
-#define O_LARGEFILE 0100000
+#define O_DIRECT 0200000
+#define O_LARGEFILE 0400000
#define O_NOATIME 01000000
#define O_NDELAY O_NONBLOCK