This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.23-406-g3e040a2
- From: azanella at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 30 May 2016 14:01:52 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.23-406-g3e040a2
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 3e040a2d5f59c5494910bd6451b3dcb69221a047 (commit)
from c30c3f46a5f2e60639dab888c487397b579942e9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=3e040a2d5f59c5494910bd6451b3dcb69221a047
commit 3e040a2d5f59c5494910bd6451b3dcb69221a047
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Mon May 30 10:04:47 2016 -0300
posix: Call _exit in failure case for posix_spawn{p} (BZ#20178)
This patch call _exit instead of exit in failure case for the spawned
child in Linux posix_spawn{p} implementation.
Tested on x86_64.
[BZ #20178]
* sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
on failure instead of exit.
diff --git a/ChangeLog b/ChangeLog
index 042fb89..a33eca3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
+
+ [BZ #20178]
+ * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
+ on failure instead of exit.
+
2016-05-30 Roland McGrath <roland@hack.frob.com>
[BZ #3629]
diff --git a/sysdeps/unix/sysv/linux/spawni.c b/sysdeps/unix/sysv/linux/spawni.c
index ee05de5..bb3eecf 100644
--- a/sysdeps/unix/sysv/linux/spawni.c
+++ b/sysdeps/unix/sysv/linux/spawni.c
@@ -288,7 +288,7 @@ fail:
if (ret)
while (write_not_cancel (p, &ret, sizeof ret) < 0)
continue;
- exit (SPAWN_ERROR);
+ _exit (SPAWN_ERROR);
}
/* Spawn a new process executing PATH with the attributes describes in *ATTRP.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
sysdeps/unix/sysv/linux/spawni.c | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources