mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
Port to Ubuntu 10.
Problem reported by T.V. Raman. * configure.ac (accept4): New function to check for. * src/process.c (close_on_exec, accept4, process_socket): Define these if !HAVE_ACCEPT4, not if !SOCK_CLOEXEC. Fixes: debbugs:14803
This commit is contained in:
parent
5165d44a78
commit
9caab067d6
@ -1,8 +1,12 @@
|
|||||||
2013-07-07 Paul Eggert <eggert@cs.ucla.edu>
|
2013-07-07 Paul Eggert <eggert@cs.ucla.edu>
|
||||||
|
|
||||||
|
Port to Ubuntu 10 (Bug#14803).
|
||||||
|
* configure.ac (accept4): New function to check for.
|
||||||
|
|
||||||
Make file descriptors close-on-exec when possible (Bug#14803).
|
Make file descriptors close-on-exec when possible (Bug#14803).
|
||||||
* configure.ac (mkostemp): New function to check for.
|
* configure.ac (mkostemp): New function to check for.
|
||||||
(PTY_OPEN): Pass O_CLOEXEC to posix_openpt.
|
(PTY_OPEN): Pass O_CLOEXEC to posix_openpt.
|
||||||
|
|
||||||
* lib/fcntl.c, lib/getdtablesize.c, lib/pipe2.c, m4/fcntl.m4:
|
* lib/fcntl.c, lib/getdtablesize.c, lib/pipe2.c, m4/fcntl.m4:
|
||||||
* m4/getdtablesize.m4, m4/pipe2.m4: New files, taken from gnulib.
|
* m4/getdtablesize.m4, m4/pipe2.m4: New files, taken from gnulib.
|
||||||
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
|
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
|
||||||
|
@ -3237,7 +3237,7 @@ esac
|
|||||||
AC_SUBST(BLESSMAIL_TARGET)
|
AC_SUBST(BLESSMAIL_TARGET)
|
||||||
|
|
||||||
|
|
||||||
AC_CHECK_FUNCS(gethostname \
|
AC_CHECK_FUNCS(accept4 gethostname \
|
||||||
getrusage get_current_dir_name \
|
getrusage get_current_dir_name \
|
||||||
lrand48 \
|
lrand48 \
|
||||||
select getpagesize setlocale \
|
select getpagesize setlocale \
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
2013-07-07 Paul Eggert <eggert@cs.ucla.edu>
|
||||||
|
|
||||||
|
Port to Ubuntu 10 (Bug#14803).
|
||||||
|
Problem reported by T.V. Raman.
|
||||||
|
* process.c (close_on_exec, accept4, process_socket):
|
||||||
|
Define these if !HAVE_ACCEPT4, not if !SOCK_CLOEXEC.
|
||||||
|
|
||||||
2013-07-07 Eli Zaretskii <eliz@gnu.org>
|
2013-07-07 Eli Zaretskii <eliz@gnu.org>
|
||||||
|
|
||||||
* w32.c (sys_dup): Declare prototype.
|
* w32.c (sys_dup): Declare prototype.
|
||||||
|
@ -137,6 +137,9 @@ extern int sys_select (int, SELECT_TYPE *, SELECT_TYPE *, SELECT_TYPE *,
|
|||||||
|
|
||||||
#ifndef SOCK_CLOEXEC
|
#ifndef SOCK_CLOEXEC
|
||||||
# define SOCK_CLOEXEC 0
|
# define SOCK_CLOEXEC 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_ACCEPT4
|
||||||
|
|
||||||
/* Emulate GNU/Linux accept4 and socket well enough for this module. */
|
/* Emulate GNU/Linux accept4 and socket well enough for this module. */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user