[svn] GnuPG - r3905 - branches/GNUPG-1-9-BRANCH/common

svn author marcus cvs at cvs.gnupg.org
Sat Oct 8 01:46:36 CEST 2005


Author: marcus
Date: 2005-10-08 01:46:36 +0200 (Sat, 08 Oct 2005)
New Revision: 3905

Modified:
   branches/GNUPG-1-9-BRANCH/common/ChangeLog
   branches/GNUPG-1-9-BRANCH/common/signal.c
Log:
2005-10-08  Marcus Brinkmann  <marcus at g10code.de>

	* signal.c (get_signal_name): Check value of HAVE_DECL_SYS_SIGLIST
	instead of just if it is defined.


Modified: branches/GNUPG-1-9-BRANCH/common/ChangeLog
===================================================================
--- branches/GNUPG-1-9-BRANCH/common/ChangeLog	2005-10-07 13:09:20 UTC (rev 3904)
+++ branches/GNUPG-1-9-BRANCH/common/ChangeLog	2005-10-07 23:46:36 UTC (rev 3905)
@@ -1,3 +1,8 @@
+2005-10-08  Marcus Brinkmann  <marcus at g10code.de>
+
+	* signal.c (get_signal_name): Check value of HAVE_DECL_SYS_SIGLIST
+	instead of just if it is defined.
+
 2005-09-28  Marcus Brinkmann  <marcus at g10code.de>
 
 	* Makefile.am (AM_CFLAGS): Add $(LIBASSUAN_CFLAGS).

Modified: branches/GNUPG-1-9-BRANCH/common/signal.c
===================================================================
--- branches/GNUPG-1-9-BRANCH/common/signal.c	2005-10-07 13:09:20 UTC (rev 3904)
+++ branches/GNUPG-1-9-BRANCH/common/signal.c	2005-10-07 23:46:36 UTC (rev 3905)
@@ -76,7 +76,7 @@
 {
   /* Note that we can't use strsignal(), because it is not
      reentrant. */
-#if defined(HAVE_DECL_SYS_SIGLIST) && defined(NSIG)
+#if HAVE_DECL_SYS_SIGLIST && defined(NSIG)
   return (signum >= 0 && signum < NSIG) ? sys_siglist[signum] : "?";
 #else
   return NULL;




More information about the Gnupg-commits mailing list