[Glibc-bsd-commits] r1578 - trunk/glibc-2.3-head/sysdeps/kfreebsd/bits

Petr Salinger ps-guest at costa.debian.org
Mon May 29 09:12:17 UTC 2006


Author: ps-guest
Date: 2006-05-29 09:12:16 +0000 (Mon, 29 May 2006)
New Revision: 1578

Modified:
   trunk/glibc-2.3-head/sysdeps/kfreebsd/bits/fcntl.h
Log:
* define O_DIRECT, available since FreeBSD 4.4/5.0
  fixes FTBFS of cstream 


Modified: trunk/glibc-2.3-head/sysdeps/kfreebsd/bits/fcntl.h
===================================================================
--- trunk/glibc-2.3-head/sysdeps/kfreebsd/bits/fcntl.h	2006-05-24 13:21:48 UTC (rev 1577)
+++ trunk/glibc-2.3-head/sysdeps/kfreebsd/bits/fcntl.h	2006-05-29 09:12:16 UTC (rev 1578)
@@ -41,6 +41,7 @@
 #define	O_SHLOCK	0x0010	/* Open with shared file lock.  */
 #define	O_EXLOCK	0x0020	/* Open with shared exclusive lock.  */
 #define O_NOFOLLOW	0x0100	/* Don't follow symlinks.  */
+#define	O_DIRECT    0x00010000  /* Attempt to bypass buffer cache */
 #endif
 
 /* File status flags for `open' and `fcntl'.  */




More information about the Glibc-bsd-commits mailing list