[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r113320: Port to Ubuntu 10.
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] trunk r113320: Port to Ubuntu 10. |
Date: |
Sun, 07 Jul 2013 23:22:48 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 113320
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/14803
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Sun 2013-07-07 16:22:43 -0700
message:
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.
modified:
ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1538
configure.ac
configure.in-20091113204419-o5vbwnq5f7feedwu-783
src/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1438
src/process.c process.c-20091113204419-o5vbwnq5f7feedwu-462
=== modified file 'ChangeLog'
--- a/ChangeLog 2013-07-07 18:00:14 +0000
+++ b/ChangeLog 2013-07-07 23:22:43 +0000
@@ -1,8 +1,12 @@
2013-07-07 Paul Eggert <address@hidden>
+ Port to Ubuntu 10 (Bug#14803).
+ * configure.ac (accept4): New function to check for.
+
Make file descriptors close-on-exec when possible (Bug#14803).
* configure.ac (mkostemp): New function to check for.
(PTY_OPEN): Pass O_CLOEXEC to posix_openpt.
+
* lib/fcntl.c, lib/getdtablesize.c, lib/pipe2.c, m4/fcntl.m4:
* m4/getdtablesize.m4, m4/pipe2.m4: New files, taken from gnulib.
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
=== modified file 'configure.ac'
--- a/configure.ac 2013-07-07 18:00:14 +0000
+++ b/configure.ac 2013-07-07 23:22:43 +0000
@@ -3237,7 +3237,7 @@
AC_SUBST(BLESSMAIL_TARGET)
-AC_CHECK_FUNCS(gethostname \
+AC_CHECK_FUNCS(accept4 gethostname \
getrusage get_current_dir_name \
lrand48 \
select getpagesize setlocale \
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2013-07-07 23:05:52 +0000
+++ b/src/ChangeLog 2013-07-07 23:22:43 +0000
@@ -1,3 +1,10 @@
+2013-07-07 Paul Eggert <address@hidden>
+
+ 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 <address@hidden>
* w32.c (sys_dup): Declare prototype.
=== modified file 'src/process.c'
--- a/src/process.c 2013-07-07 18:00:14 +0000
+++ b/src/process.c 2013-07-07 23:22:43 +0000
@@ -137,6 +137,9 @@
#ifndef SOCK_CLOEXEC
# define SOCK_CLOEXEC 0
+#endif
+
+#ifndef HAVE_ACCEPT4
/* Emulate GNU/Linux accept4 and socket well enough for this module. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r113320: Port to Ubuntu 10.,
Paul Eggert <=