mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
posix: Fix posix_spawn implict check style
This patch fixes the implicit check style add in 2a69f853c
for the
general convention one.
Checked on x86_64.
* sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
style.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
|
||||||
|
style.
|
||||||
|
|
||||||
2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
|
2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/x86_64/cancellation.S
|
* sysdeps/unix/sysv/linux/x86_64/cancellation.S
|
||||||
|
@ -381,7 +381,7 @@ __spawnix (pid_t * pid, const char *file,
|
|||||||
|
|
||||||
close_not_cancel (args.pipe[0]);
|
close_not_cancel (args.pipe[0]);
|
||||||
|
|
||||||
if (!ec && pid)
|
if ((ec == 0) && (pid != NULL))
|
||||||
*pid = new_pid;
|
*pid = new_pid;
|
||||||
|
|
||||||
__sigprocmask (SIG_SETMASK, &args.oldmask, 0);
|
__sigprocmask (SIG_SETMASK, &args.oldmask, 0);
|
||||||
|
Reference in New Issue
Block a user