projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16b995f
)
(O_DIRECTORY): Define to 0 if the system doesn't define.
author
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 11 Aug 2004 22:23:54 +0000
(22:23 +0000)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 11 Aug 2004 22:23:54 +0000
(22:23 +0000)
lib/fts.c
patch
|
blob
|
history
diff --git
a/lib/fts.c
b/lib/fts.c
index 682bd01825dec45847636d0f0babc7158354eff9..a2487d84fca67360253f21e7985c73e2535fd62e 100644
(file)
--- a/
lib/fts.c
+++ b/
lib/fts.c
@@
-162,6
+162,10
@@
static int fts_safe_changedir __P((FTS *, FTSENT *, int, const char *))
# define SIZE_MAX ((size_t) -1)
#endif
+#ifndef O_DIRECTORY
+# define O_DIRECTORY 0
+#endif
+
/* The extra casts work around common compiler bugs. */
#define TYPE_SIGNED(t) (! ((t) 0 < (t) -1))