mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-31 11:41:32 +01:00
2005-10-08 Marcus Brinkmann <marcus@g10code.de>
* signal.c (get_signal_name): Check value of HAVE_DECL_SYS_SIGLIST instead of just if it is defined.
This commit is contained in:
parent
d7a1e30b30
commit
84b22283d9
@ -1,3 +1,8 @@
|
||||
2005-10-08 Marcus Brinkmann <marcus@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@g10code.de>
|
||||
|
||||
* Makefile.am (AM_CFLAGS): Add $(LIBASSUAN_CFLAGS).
|
||||
|
@ -76,7 +76,7 @@ get_signal_name( int signum )
|
||||
{
|
||||
/* 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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user