summaryrefslogtreecommitdiff
path: root/lib/dirchownmod.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-08-28 22:59:17 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-08-28 22:59:17 +0000
commite9255b85d00e92866a4edbca355ef59d825e9705 (patch)
tree797a2e4dd40dcbc8a74827ad67cfd8142bfacaa8 /lib/dirchownmod.c
parent0a70212f6fdd155158109a8286f0d7b0bdd6c5be (diff)
downloadgnulib-e9255b85d00e92866a4edbca355ef59d825e9705.tar.gz
* lib/fcntl_.h: New file.
* lib/chdir-safer.c (O_DIRECTORY, O_NOFOLLOW): Remove, now that we have the fcntl module. * lib/dirchownmod.c: Likewise. * lib/fts.c: Likewise. * m4/fcntl_h.m4: New file. * modules/fcntl: New file. * modules/chdir-safer (Depends-on): Add fcntl. * modules/fts: Likewise. * modules/mkdir-p: Likewise.
Diffstat (limited to 'lib/dirchownmod.c')
-rw-r--r--lib/dirchownmod.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/dirchownmod.c b/lib/dirchownmod.c
index 4c76d59acd..84137fad3f 100644
--- a/lib/dirchownmod.c
+++ b/lib/dirchownmod.c
@@ -33,13 +33,6 @@
#include "lchmod.h"
#include "stat-macros.h"
-#ifndef O_DIRECTORY
-# define O_DIRECTORY 0
-#endif
-#ifndef O_NOFOLLOW
-# define O_NOFOLLOW 0
-#endif
-
#ifndef HAVE_FCHMOD
# define HAVE_FCHMOD 0
# undef fchmod