summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-11-13 21:29:54 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2012-11-13 21:29:54 -0800
commitf360feb8ec972600bb206447be8ac31cf61b0523 (patch)
treeba8d4c65e39fca52fc15a66b1713f931373af12d
parent7831fb1b9e88be1c18920b36129c6d1933dbd7ea (diff)
downloademacs-f360feb8ec972600bb206447be8ac31cf61b0523.tar.gz
Use trunk version of gnulib lib/fcntl.in.h.
This corrects a recent checkin, which used an experimental version of this file by mistake. Stick with the standard version.
-rw-r--r--lib/fcntl.in.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/fcntl.in.h b/lib/fcntl.in.h
index fb402ee1f0f..604c31b7984 100644
--- a/lib/fcntl.in.h
+++ b/lib/fcntl.in.h
@@ -213,11 +213,7 @@ _GL_WARN_ON_USE (openat, "openat is not portable - "
#endif
#ifndef O_EXEC
-# ifdef O_PATH
-# define O_EXEC O_PATH
-# else
-# define O_EXEC O_RDONLY /* This is often close enough in older systems. */
-# endif
+# define O_EXEC O_RDONLY /* This is often close enough in older systems. */
#endif
#ifndef O_IGNORE_CTTY
@@ -274,11 +270,7 @@ _GL_WARN_ON_USE (openat, "openat is not portable - "
#endif
#ifndef O_SEARCH
-# ifdef O_PATH
-# define O_SEARCH O_PATH
-# else
-# define O_SEARCH O_RDONLY /* This is often close enough in older systems. */
-# endif
+# define O_SEARCH O_RDONLY /* This is often close enough in older systems. */
#endif
#ifndef O_SYNC