This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[COMMITTED PATCH] NaCl: Remove bogus O_SHLOCK, O_EXLOCK definitions.


These obviously should never have been left in with XXX as their values.
I had left those placeholders because I thought I might figure out values
to use.  But there aren't any, and nothing really needs them.  So just
remove them.


Thanks,
Roland


2015-07-24  Roland McGrath  <roland@hack.frob.com>

	* sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.

diff --git a/sysdeps/nacl/bits/fcntl.h b/sysdeps/nacl/bits/fcntl.h
index ceef8df..89aab00 100644
--- a/sysdeps/nacl/bits/fcntl.h
+++ b/sysdeps/nacl/bits/fcntl.h
@@ -35,10 +35,6 @@
 #define O_ASYNC         020000  /* Send SIGIO to owner when data is ready.  */
 #define O_FSYNC         010000  /* Synchronous writes.  */
 #define O_SYNC          O_FSYNC
-#ifdef  __USE_MISC
-# define O_SHLOCK       XXX     /* Open with shared file lock.  */
-# define O_EXLOCK       XXX     /* Open with shared exclusive lock.  */
-#endif
 #ifdef __USE_XOPEN2K8
 # define O_DIRECTORY    00200000        /* Must be a directory.  */
 # define O_NOFOLLOW     00400000        /* Do not follow links.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]