[git] GnuPG - branch, STABLE-BRANCH-2-2, updated. gnupg-2.2.4-14-gd7207b3

by NIIBE Yutaka cvs at cvs.gnupg.org
Fri Jan 26 02:46:35 CET 2018


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 "The GNU Privacy Guard".

The branch, STABLE-BRANCH-2-2 has been updated
       via  d7207b39b71d1b07c4cddac602f29ec583f6d1ad (commit)
      from  08e686a6a6d5bcb5410228b388745d09686b260c (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 -----------------------------------------------------------------
commit d7207b39b71d1b07c4cddac602f29ec583f6d1ad
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Fri Jan 26 10:42:31 2018 +0900

    agent: Fix last commit.
    
    * configure.ac: Check ucred.h as well as sys/ucred.h.
    * agent/command-ssh.c: Add inclusion of ucred.h.
    
    --
    
    It was T2981, adding ucred.h for Solaris.  We also need sys/ucred.h
    for FreeBSD and macOS.
    
    Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>

diff --git a/agent/command-ssh.c b/agent/command-ssh.c
index 213f3f9..e0b7238 100644
--- a/agent/command-ssh.c
+++ b/agent/command-ssh.c
@@ -47,6 +47,9 @@
 #ifdef HAVE_SYS_UCRED_H
 #include <sys/ucred.h>
 #endif
+#ifdef HAVE_UCRED_H
+#include <ucred.h>
+#endif
 
 #include "agent.h"
 
diff --git a/configure.ac b/configure.ac
index 424ce7b..420af92 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1278,7 +1278,7 @@ AC_HEADER_STDC
 AC_CHECK_HEADERS([string.h unistd.h langinfo.h termio.h locale.h getopt.h \
                   pty.h utmp.h pwd.h inttypes.h signal.h sys/select.h     \
                   stdint.h signal.h util.h libutil.h termios.h \
-                  sys/ucred.h sys/sysmacros.h sys/mkdev.h])
+                  ucred.h sys/ucred.h sys/sysmacros.h sys/mkdev.h])
 
 AC_HEADER_TIME
 

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

Summary of changes:
 agent/command-ssh.c | 3 +++
 configure.ac        | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list