diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2007-12-28 19:51:24 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2007-12-28 19:51:24 +0000 |
commit | 66b3d3dcd8f9449db754be5c69bb1efe82c28bab (patch) | |
tree | 7b248a5aff8a6c9ff3ea72aa87e73284147d5ec0 /toolchain/uClibc/patches/412-sync-fcntl-h-with-linux-kernel.patch | |
parent | b131605ed7eca1c0df247462694b7aec207051a4 (diff) | |
download | upstream-66b3d3dcd8f9449db754be5c69bb1efe82c28bab.tar.gz upstream-66b3d3dcd8f9449db754be5c69bb1efe82c28bab.tar.bz2 upstream-66b3d3dcd8f9449db754be5c69bb1efe82c28bab.zip |
upgrade to uClibc 0.9.29 - break binary compatibility #1
SVN-Revision: 10010
Diffstat (limited to 'toolchain/uClibc/patches/412-sync-fcntl-h-with-linux-kernel.patch')
-rw-r--r-- | toolchain/uClibc/patches/412-sync-fcntl-h-with-linux-kernel.patch | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/toolchain/uClibc/patches/412-sync-fcntl-h-with-linux-kernel.patch b/toolchain/uClibc/patches/412-sync-fcntl-h-with-linux-kernel.patch deleted file mode 100644 index ae6de2b102..0000000000 --- a/toolchain/uClibc/patches/412-sync-fcntl-h-with-linux-kernel.patch +++ /dev/null @@ -1,54 +0,0 @@ ---- - libc/sysdeps/linux/avr32/bits/fcntl.h | 33 +++++++++++++++++---------------- - 1 file changed, 17 insertions(+), 16 deletions(-) - -Index: uClibc-0.9.28-avr32/libc/sysdeps/linux/avr32/bits/fcntl.h -=================================================================== ---- uClibc-0.9.28-avr32.orig/libc/sysdeps/linux/avr32/bits/fcntl.h 2006-11-23 17:38:30.000000000 +0100 -+++ uClibc-0.9.28-avr32/libc/sysdeps/linux/avr32/bits/fcntl.h 2006-11-23 17:52:15.000000000 +0100 -@@ -11,28 +11,29 @@ - - /* open/fcntl - O_SYNC is only implemented on blocks devices and on files - located on an ext2 file system */ --#define O_ACCMODE 0003 --#define O_RDONLY 00 --#define O_WRONLY 01 --#define O_RDWR 02 --#define O_CREAT 0100 /* not fcntl */ --#define O_EXCL 0200 /* not fcntl */ --#define O_NOCTTY 0400 /* not fcntl */ --#define O_TRUNC 01000 /* not fcntl */ --#define O_APPEND 02000 --#define O_NONBLOCK 04000 -+#define O_ACCMODE 00000003 -+#define O_RDONLY 00000000 -+#define O_WRONLY 00000001 -+#define O_RDWR 00000002 -+#define O_CREAT 00000100 /* not fcntl */ -+#define O_EXCL 00000200 /* not fcntl */ -+#define O_NOCTTY 00000400 /* not fcntl */ -+#define O_TRUNC 00001000 /* not fcntl */ -+#define O_APPEND 00002000 -+#define O_NONBLOCK 00004000 - #define O_NDELAY O_NONBLOCK --#define O_SYNC 010000 --#define O_ASYNC 020000 -+#define O_SYNC 00010000 -+#define O_ASYNC 00020000 - - #ifdef __USE_GNU --# define O_DIRECTORY 040000 /* must be a directory */ --# define O_NOFOLLOW 0100000 /* don't follow links */ --# define O_DIRECT 0200000 /* direct disk access */ -+# define O_DIRECT 00040000 /* must be a directory */ -+# define O_DIRECTORY 00200000 /* direct disk access */ -+# define O_NOFOLLOW 00400000 /* don't follow links */ -+# define O_NOATIME 01000000 /* don't set atime */ - #endif - - #ifdef __USE_LARGEFILE64 --# define O_LARGEFILE 0400000 -+# define O_LARGEFILE 00100000 - #endif - - /* For now Linux has synchronisity options for data and read operations. |