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-75-g30bcdc1


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  30bcdc1860a9e80afad11c94e508f962a6563205 (commit)
      from  e49b221aeaf184cff0b75da56b41be807b5a5403 (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=30bcdc1860a9e80afad11c94e508f962a6563205

commit 30bcdc1860a9e80afad11c94e508f962a6563205
Author: Florian Weimer <fweimer@redhat.com>
Date:   Tue Mar 8 10:04:23 2016 +0100

    sunrpc: In key_call_keyenvoy, use int status instead of union wait

diff --git a/ChangeLog b/ChangeLog
index 0fb4ebd..2a7abbc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-03-08  Florian Weimer  <fweimer@redhat.com>
+
+	* sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
+	union wait.  Report any non-zero exit status as error.
+
 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
 	* posix/tst-execvpe5.c (do_test): Fix fix test invocation when
diff --git a/sunrpc/key_call.c b/sunrpc/key_call.c
index 7ecf6fb..a0d9a2a 100644
--- a/sunrpc/key_call.c
+++ b/sunrpc/key_call.c
@@ -304,7 +304,7 @@ key_call_keyenvoy (u_long proc, xdrproc_t xdr_arg, char *arg,
   FILE *fargs;
   FILE *frslt;
   sigset_t oldmask, mask;
-  union wait status;
+  int status;
   int pid;
   int success;
   uid_t ruid;
@@ -362,7 +362,7 @@ key_call_keyenvoy (u_long proc, xdrproc_t xdr_arg, char *arg,
 	success = 0;
     }
   else
-    if (status.w_retcode)
+    if (status != 0)
       {
 	debug ("wait4 1");
 	success = 0;

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

Summary of changes:
 ChangeLog         |    5 +++++
 sunrpc/key_call.c |    4 ++--
 2 files changed, 7 insertions(+), 2 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]