Browse Source

fix fcntl O_* flags for arm

no idea why these 4 are permuted and the rest are standard/generic
Rich Felker 13 years ago
parent
commit
e6d765a8b1
1 changed files with 4 additions and 4 deletions
  1. 4 4
      arch/arm/bits/fcntl.h

+ 4 - 4
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