Bug#157142: libc6: O_DIRECT missing in ppc headers
Package: libc6
Version: 2.2.5-14
Severity: normal
Tags: upstream patch
Hi,
The following patch adds a missing O_DIRECT definition.
Anton
--- glibc-2.2.5/./sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h~ 2002-08-18 21:33:06.000000000 +1000
+++ glibc-2.2.5/./sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h 2002-08-18 21:33:17.000000000 +1000
@@ -44,6 +44,7 @@
#ifdef __USE_GNU
# define O_DIRECTORY 040000 /* Must be a directory. */
# define O_NOFOLLOW 0100000 /* Do not follow links. */
+# define O_DIRECT 0400000 /* Direct disk access. */
#endif
#ifdef __USE_LARGEFILE64
-- System Information:
Debian Release: testing/unstable
Architecture: powerpc
Kernel: Linux congo 2.5.31 #91 SMP Sat Aug 17 19:41:25 EST 2002 ppc64
Locale: LANG=C, LC_CTYPE=C
-- no debconf information
Reply to: