This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.23-114-g67b2337


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  67b23376fb72cdc3fbef37837f6fb5ebe8f0f034 (commit)
      from  893e371b2f27f7fd6f503cefce8d9f754aaefd58 (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=67b23376fb72cdc3fbef37837f6fb5ebe8f0f034

commit 67b23376fb72cdc3fbef37837f6fb5ebe8f0f034
Author: Adhemerval Zanella <adhemerval.zanella@linaro.com>
Date:   Mon Mar 21 12:10:20 2016 -0300

    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.

diff --git a/ChangeLog b/ChangeLog
index f662d9a..ffaf973 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
 	* sysdeps/unix/sysv/linux/x86_64/cancellation.S
diff --git a/sysdeps/unix/sysv/linux/spawni.c b/sysdeps/unix/sysv/linux/spawni.c
index cb80cea..ee05de5 100644
--- a/sysdeps/unix/sysv/linux/spawni.c
+++ b/sysdeps/unix/sysv/linux/spawni.c
@@ -381,7 +381,7 @@ __spawnix (pid_t * pid, const char *file,
 
   close_not_cancel (args.pipe[0]);
 
-  if (!ec && pid)
+  if ((ec == 0) && (pid != NULL))
     *pid = new_pid;
 
   __sigprocmask (SIG_SETMASK, &args.oldmask, 0);

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                        |    5 +++++
 sysdeps/unix/sysv/linux/spawni.c |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]