projects
/
debian
/
tar
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 1.24
[debian/tar]
/
gnu
/
fcntl.in.h
diff --git
a/gnu/fcntl.in.h
b/gnu/fcntl.in.h
index 95298dea1b63509dc1358af416ee1c82086bc66b..c2ded08a20761422e26ba7b60539e082e25e4a89 100644
(file)
--- a/
gnu/fcntl.in.h
+++ b/
gnu/fcntl.in.h
@@
-22,6
+22,7
@@
#if __GNUC__ >= 3
@PRAGMA_SYSTEM_HEADER@
#endif
#if __GNUC__ >= 3
@PRAGMA_SYSTEM_HEADER@
#endif
+@PRAGMA_COLUMNS@
#if defined __need_system_fcntl_h
/* Special invocation convention. */
#if defined __need_system_fcntl_h
/* Special invocation convention. */
@@
-172,6
+173,10
@@
_GL_WARN_ON_USE (openat, "openat is not portable - "
# define O_CLOEXEC O_NOINHERIT
#endif
# define O_CLOEXEC O_NOINHERIT
#endif
+#ifndef O_CLOEXEC
+# define O_CLOEXEC 0
+#endif
+
#ifndef O_DIRECT
# define O_DIRECT 0
#endif
#ifndef O_DIRECT
# define O_DIRECT 0
#endif
@@
-184,6
+189,10
@@
_GL_WARN_ON_USE (openat, "openat is not portable - "
# define O_DSYNC 0
#endif
# define O_DSYNC 0
#endif
+#ifndef O_EXEC
+# define O_EXEC O_RDONLY /* This is often close enough in older systems. */
+#endif
+
#ifndef O_NDELAY
# define O_NDELAY 0
#endif
#ifndef O_NDELAY
# define O_NDELAY 0
#endif
@@
-212,6
+221,10
@@
_GL_WARN_ON_USE (openat, "openat is not portable - "
# define O_RSYNC 0
#endif
# define O_RSYNC 0
#endif
+#ifndef O_SEARCH
+# define O_SEARCH O_RDONLY /* This is often close enough in older systems. */
+#endif
+
#ifndef O_SYNC
# define O_SYNC 0
#endif
#ifndef O_SYNC
# define O_SYNC 0
#endif