aboutsummaryrefslogtreecommitdiffstats
path: root/g10/signal.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2004-09-28 14:50:05 +0000
committerDavid Shaw <[email protected]>2004-09-28 14:50:05 +0000
commit793f8d8d5558e91272d67648e357e5a30e398f97 (patch)
treec8bf0f7d07e9bb08a87c8c6c42d1f7c3a3585084 /g10/signal.c
parent* card-util.c (card_edit): Take admin only status from the table. (diff)
downloadgnupg-793f8d8d5558e91272d67648e357e5a30e398f97.tar.gz
gnupg-793f8d8d5558e91272d67648e357e5a30e398f97.zip
* signal.c (got_fatal_signal): HAVE_DECL_SYS_SIGLIST is defined, but zero
if not found. Noted by John Clizbe. * keyserver.c (parse_keyrec): Fix problem with non-expiring keys appearing expired in --search-keys results.
Diffstat (limited to 'g10/signal.c')
-rw-r--r--g10/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/signal.c b/g10/signal.c
index 44c8a8f21..0f904ed97 100644
--- a/g10/signal.c
+++ b/g10/signal.c
@@ -93,7 +93,7 @@ got_fatal_signal( int sig )
s = log_get_name(); if( s ) write(2, s, strlen(s) );
write(2, ": ", 2 );
-#if defined(HAVE_DECL_SYS_SIGLIST) && defined(NSIG)
+#if HAVE_DECL_SYS_SIGLIST && defined(NSIG)
s = (sig >= 0 && sig < NSIG) ? sys_siglist[sig] : "?";
write (2, s, strlen(s) );
#else