summaryrefslogtreecommitdiff
path: root/lib/openat-proc.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2014-05-26 22:55:18 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2014-05-26 22:55:18 -0700
commitc3e7b943a041a666305a219b9cca77f715f6d63e (patch)
treeb1cdb3460b1fb183ede35a0d4d0206944f3c3b53 /lib/openat-proc.c
parenta366fbe2b77958df12824da799d65a127b14e834 (diff)
downloademacs-c3e7b943a041a666305a219b9cca77f715f6d63e.tar.gz
Merge from gnulib.
This incorporates: 2014-05-21 fchdir: port 'open' and 'close' redefinitions to AIX 7.1 * doc/misc/texinfo.tex, lib/openat-proc.c: Update from gnulib.
Diffstat (limited to 'lib/openat-proc.c')
-rw-r--r--lib/openat-proc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/openat-proc.c b/lib/openat-proc.c
index 6a4f6ad1cf1..7b40bb8f059 100644
--- a/lib/openat-proc.c
+++ b/lib/openat-proc.c
@@ -32,14 +32,6 @@
#include "intprops.h"
-/* The results of open() in this file are not used with fchdir,
- and we do not leak fds to any single-threaded code that could use stdio,
- therefore save some unnecessary work in fchdir.c.
- FIXME - if the kernel ever adds support for multi-thread safety for
- avoiding standard fds, then we should use open_safer. */
-#undef open
-#undef close
-
#define PROC_SELF_FD_FORMAT "/proc/self/fd/%d/%s"
#define PROC_SELF_FD_NAME_SIZE_BOUND(len) \