diff options
| author | Joakim Verona | 2013-07-14 11:04:49 +0200 |
|---|---|---|
| committer | Joakim Verona | 2013-07-14 11:04:49 +0200 |
| commit | 0bb9bb0841d89fff09820a57369df4cb01b16b43 (patch) | |
| tree | 832bf9fa8415eef0ce464d22b3ee1300cfa90bb1 /nt | |
| parent | 3718127221fbbc31f8ebd027ab7c95403dbe9118 (diff) | |
| parent | 3af1c8684ed6e48fbc21481d129e9aa164752c6e (diff) | |
| download | emacs-0bb9bb0841d89fff09820a57369df4cb01b16b43.tar.gz emacs-0bb9bb0841d89fff09820a57369df4cb01b16b43.zip | |
Merge branch 'trunk' into xwidget
Conflicts:
src/xdisp.c
Diffstat (limited to 'nt')
| -rw-r--r-- | nt/ChangeLog | 14 | ||||
| -rw-r--r-- | nt/gnulib.mk | 3 | ||||
| -rw-r--r-- | nt/inc/ms-w32.h | 1 | ||||
| -rw-r--r-- | nt/inc/sys/socket.h | 4 | ||||
| -rw-r--r-- | nt/mingw-cfg.site | 5 |
5 files changed, 23 insertions, 4 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog index 1a0746b3181..c0598dd5630 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog | |||
| @@ -1,3 +1,17 @@ | |||
| 1 | 2013-07-07 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * inc/sys/socket.h (F_SETFD, O_CLOEXEC, F_DUPFD_CLOEXEC) | ||
| 4 | (FD_CLOEXEC): New macros. | ||
| 5 | |||
| 6 | 2013-07-07 Paul Eggert <eggert@cs.ucla.edu> | ||
| 7 | |||
| 8 | Make file descriptors close-on-exec when possible (Bug#14803). | ||
| 9 | * gnulib.mk: Remove empty gl_GNULIB_ENABLED_verify section; | ||
| 10 | otherwise, gnulib-tool complains given close-on-exec changes. | ||
| 11 | * inc/ms-w32.h (pipe): Remove. | ||
| 12 | * mingw-cfg.site (ac_cv_func_fcntl, gl_cv_func_fcntl_f_dupfd_cloexec) | ||
| 13 | (gl_cv_func_fcntl_f_dupfd_works, ac_cv_func_pipe2): New vars. | ||
| 14 | |||
| 1 | 2013-06-25 Juanma Barranquero <lekktu@gmail.com> | 15 | 2013-06-25 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 16 | ||
| 3 | * configure.bat: Add warning to the help text about using the | 17 | * configure.bat: Add warning to the help text about using the |
diff --git a/nt/gnulib.mk b/nt/gnulib.mk index ac4fc2768d9..df27dcf610c 100644 --- a/nt/gnulib.mk +++ b/nt/gnulib.mk | |||
| @@ -876,9 +876,6 @@ EXTRA_DIST += utimens.h | |||
| 876 | 876 | ||
| 877 | ## begin gnulib module verify | 877 | ## begin gnulib module verify |
| 878 | 878 | ||
| 879 | if gl_GNULIB_ENABLED_verify | ||
| 880 | |||
| 881 | endif | ||
| 882 | EXTRA_DIST += verify.h | 879 | EXTRA_DIST += verify.h |
| 883 | 880 | ||
| 884 | ## end gnulib module verify | 881 | ## end gnulib module verify |
diff --git a/nt/inc/ms-w32.h b/nt/inc/ms-w32.h index 29c8e383893..3e50c78f145 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 *); | |||
| 211 | #define mktemp sys_mktemp | 211 | #define mktemp sys_mktemp |
| 212 | #undef open | 212 | #undef open |
| 213 | #define open sys_open | 213 | #define open sys_open |
| 214 | #define pipe sys_pipe | ||
| 215 | #undef read | 214 | #undef read |
| 216 | #define read sys_read | 215 | #define read sys_read |
| 217 | #define rename sys_rename | 216 | #define rename sys_rename |
diff --git a/nt/inc/sys/socket.h b/nt/inc/sys/socket.h index 99227d75d28..93bf9f91665 100644 --- a/nt/inc/sys/socket.h +++ b/nt/inc/sys/socket.h | |||
| @@ -123,7 +123,11 @@ int sys_sendto (int s, const char * buf, int len, int flags, | |||
| 123 | an fcntl function, for setting sockets to non-blocking mode. */ | 123 | an fcntl function, for setting sockets to non-blocking mode. */ |
| 124 | int fcntl (int s, int cmd, int options); | 124 | int fcntl (int s, int cmd, int options); |
| 125 | #define F_SETFL 4 | 125 | #define F_SETFL 4 |
| 126 | #define F_SETFD 2 | ||
| 126 | #define O_NONBLOCK 04000 | 127 | #define O_NONBLOCK 04000 |
| 128 | #define O_CLOEXEC O_NOINHERIT | ||
| 129 | #define F_DUPFD_CLOEXEC 0x40000000 | ||
| 130 | #define FD_CLOEXEC 1 | ||
| 127 | 131 | ||
| 128 | /* we are providing a real h_errno variable */ | 132 | /* we are providing a real h_errno variable */ |
| 129 | #undef h_errno | 133 | #undef h_errno |
diff --git a/nt/mingw-cfg.site b/nt/mingw-cfg.site index 41e4f23784e..cf55fe04ed8 100644 --- a/nt/mingw-cfg.site +++ b/nt/mingw-cfg.site | |||
| @@ -67,6 +67,10 @@ gl_cv_func_readlink_works=yes | |||
| 67 | gl_cv_func_symlink_works=yes | 67 | gl_cv_func_symlink_works=yes |
| 68 | ac_cv_func_readlinkat=yes | 68 | ac_cv_func_readlinkat=yes |
| 69 | ac_cv_func_faccessat=yes | 69 | ac_cv_func_faccessat=yes |
| 70 | # Implemented in w32.c | ||
| 71 | ac_cv_func_fcntl=yes | ||
| 72 | gl_cv_func_fcntl_f_dupfd_cloexec=yes | ||
| 73 | gl_cv_func_fcntl_f_dupfd_works=yes | ||
| 70 | # We don't need fdopendir | 74 | # We don't need fdopendir |
| 71 | ac_cv_func_fdopendir="not-needed" | 75 | ac_cv_func_fdopendir="not-needed" |
| 72 | gl_cv_func_fdopendir_works="no-but-not-needed-so-yes" | 76 | gl_cv_func_fdopendir_works="no-but-not-needed-so-yes" |
| @@ -95,6 +99,7 @@ ac_cv_func_getloadavg=yes | |||
| 95 | # Avoid compiling gnulib mktime | 99 | # Avoid compiling gnulib mktime |
| 96 | gl_cv_func_working_mktime=yes | 100 | gl_cv_func_working_mktime=yes |
| 97 | # Implemented in w32.c | 101 | # Implemented in w32.c |
| 102 | ac_cv_func_pipe2=yes | ||
| 98 | ac_cv_have_decl_unsetenv=yes | 103 | ac_cv_have_decl_unsetenv=yes |
| 99 | ac_cv_func_unsetenv=yes | 104 | ac_cv_func_unsetenv=yes |
| 100 | gt_cv_func_unsetenv_ret='int' | 105 | gt_cv_func_unsetenv_ret='int' |