projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* lib/xstrtol.h: Include gettext.h.
[gnulib.git]
/
lib
/
savewd.c
diff --git
a/lib/savewd.c
b/lib/savewd.c
index
bd3d118
..
625c3cd
100644
(file)
--- a/
lib/savewd.c
+++ b/
lib/savewd.c
@@
-103,7
+103,8
@@
savewd_chdir (struct savewd *wd, char const *dir, int options,
/* Open the directory if requested, or if avoiding a race condition
is requested and possible. */
/* Open the directory if requested, or if avoiding a race condition
is requested and possible. */
- if (open_result || (options & (O_NOFOLLOW ? SAVEWD_CHDIR_NOFOLLOW : 0)))
+ if (open_result
+ || (options & (HAVE_WORKING_O_NOFOLLOW ? SAVEWD_CHDIR_NOFOLLOW : 0)))
{
fd = open (dir,
(O_RDONLY | O_DIRECTORY | O_NOCTTY | O_NONBLOCK
{
fd = open (dir,
(O_RDONLY | O_DIRECTORY | O_NOCTTY | O_NONBLOCK