diff lib/progreloc.c @ 7863:cb2590895141

New module 'fchdir'.
author Bruno Haible <bruno@clisp.org>
date Sun, 14 Jan 2007 11:32:10 +0000
parents 1c4ed7637c24
children fd48e35f4e5e
line wrap: on
line diff
--- a/lib/progreloc.c
+++ b/lib/progreloc.c
@@ -77,6 +77,11 @@
 # define FILE_SYSTEM_PREFIX_LEN(P) 0
 #endif
 
+/* The results of open() in this file are not used with fchdir,
+   therefore save some unnecessary work in fchdir.c.  */
+#undef open
+#undef close
+
 #undef set_program_name