From: Rich Felker Date: Wed, 5 Oct 2011 04:26:49 +0000 (-0400) Subject: fix fcntl O_* flags for arm X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=commitdiff_plain;h=e6d765a8b1278e9e5f507638ccdec9fe40e52364 fix fcntl O_* flags for arm no idea why these 4 are permuted and the rest are standard/generic --- 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