X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fclean-temp.c;h=7acc68857dc529aee1302506f60a9598fd71302c;hb=bbdcfead98c6d3536215c3f0f603e4f92a28d26b;hp=aa82974a1e65268fac95d752ab06c15b66e62085;hpb=7c6d5072278ec9af612e21f0507a009ed37816e1;p=gnulib.git diff --git a/lib/clean-temp.c b/lib/clean-temp.c index aa82974a1..7acc68857 100644 --- a/lib/clean-temp.c +++ b/lib/clean-temp.c @@ -67,6 +67,13 @@ # define uintptr_t unsigned long #endif +#if !GNULIB_FCNTL_SAFER +/* The results of open() in this file are not used with fchdir, + therefore save some unnecessary work in fchdir.c. */ +# undef open +# undef close +#endif + /* The use of 'volatile' in the types below (and ISO C 99 section 5.1.2.3.(5)) ensure that while constructing or modifying the data structures, the field