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:
parent
a2599936c9
commit
793f8d8d55
3 changed files with 12 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue