diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-06-29 12:05:01 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-07-05 15:58:31 -0300 |
commit | db6b2f25220f1cf345656164211fd549c22189dd (patch) | |
tree | a34b0738381ebc3c51842770b579266abe59bff2 /ChangeLog | |
parent | b8e0e03b7c452923df96e45ccbae60f8a9f4f684 (diff) | |
download | glibc-db6b2f25220f1cf345656164211fd549c22189dd.zip glibc-db6b2f25220f1cf345656164211fd549c22189dd.tar.gz glibc-db6b2f25220f1cf345656164211fd549c22189dd.tar.bz2 |
posix: Fix default posix_spawn return value
This patch fix the return value for error conditions for default
posix_spawn (where the errno is expected). It also avoid clobber
errno on fork call.
Checked on x86_64 (with Linux implementation removed).
[BZ# 21697]
* sysdeps/posix/spawni.c (__spawni_child): Fix return value.
(__spawnix): Do not clober errno.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2017-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org> + + [BZ# 21697] + * sysdeps/posix/spawni.c (__spawni_child): Fix return value. + 2017-07-05 Florian Weimer <fweimer@redhat.com> * resolv/Makefile (tests-internal): Add tst-resolv-threads. |