diff options
Diffstat (limited to 'nt')
-rw-r--r-- | nt/ChangeLog | 9 | ||||
-rw-r--r-- | nt/gnulib.mk | 3 | ||||
-rw-r--r-- | nt/inc/ms-w32.h | 1 | ||||
-rw-r--r-- | nt/mingw-cfg.site | 5 |
4 files changed, 14 insertions, 4 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog index 1a0746b318..a9b4f83664 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog @@ -1,3 +1,12 @@ +2013-07-07 Paul Eggert <eggert@cs.ucla.edu> + + Make file descriptors close-on-exec when possible (Bug#14803). + * gnulib.mk: Remove empty gl_GNULIB_ENABLED_verify section; + otherwise, gnulib-tool complains given close-on-exec changes. + * inc/ms-w32.h (pipe): Remove. + * mingw-cfg.site (ac_cv_func_fcntl, gl_cv_func_fcntl_f_dupfd_cloexec) + (gl_cv_func_fcntl_f_dupfd_works, ac_cv_func_pipe2): New vars. + 2013-06-25 Juanma Barranquero <lekktu@gmail.com> * configure.bat: Add warning to the help text about using the diff --git a/nt/gnulib.mk b/nt/gnulib.mk index ac4fc2768d..df27dcf610 100644 --- a/nt/gnulib.mk +++ b/nt/gnulib.mk @@ -876,9 +876,6 @@ EXTRA_DIST += utimens.h ## begin gnulib module verify -if gl_GNULIB_ENABLED_verify - -endif EXTRA_DIST += verify.h ## end gnulib module verify diff --git a/nt/inc/ms-w32.h b/nt/inc/ms-w32.h index 29c8e38389..3e50c78f14 100644 --- a/nt/inc/ms-w32.h +++ b/nt/inc/ms-w32.h @@ -211,7 +211,6 @@ extern struct tm * sys_localtime (const time_t *); #define mktemp sys_mktemp #undef open #define open sys_open -#define pipe sys_pipe #undef read #define read sys_read #define rename sys_rename diff --git a/nt/mingw-cfg.site b/nt/mingw-cfg.site index 41e4f23784..cf55fe04ed 100644 --- a/nt/mingw-cfg.site +++ b/nt/mingw-cfg.site @@ -67,6 +67,10 @@ gl_cv_func_readlink_works=yes gl_cv_func_symlink_works=yes ac_cv_func_readlinkat=yes ac_cv_func_faccessat=yes +# Implemented in w32.c +ac_cv_func_fcntl=yes +gl_cv_func_fcntl_f_dupfd_cloexec=yes +gl_cv_func_fcntl_f_dupfd_works=yes # We don't need fdopendir ac_cv_func_fdopendir="not-needed" gl_cv_func_fdopendir_works="no-but-not-needed-so-yes" @@ -95,6 +99,7 @@ ac_cv_func_getloadavg=yes # Avoid compiling gnulib mktime gl_cv_func_working_mktime=yes # Implemented in w32.c +ac_cv_func_pipe2=yes ac_cv_have_decl_unsetenv=yes ac_cv_func_unsetenv=yes gt_cv_func_unsetenv_ret='int' |