1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

* 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.
This commit is contained in:
David Shaw 2004-09-28 14:50:05 +00:00
parent a2599936c9
commit 793f8d8d55
3 changed files with 12 additions and 4 deletions

View file

@ -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