mirror of git://git.gnupg.org/gnupg.git
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>
|
2005-09-28 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
* Makefile.am (AM_CFLAGS): Add $(LIBASSUAN_CFLAGS).
|
* 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
|
/* Note that we can't use strsignal(), because it is not
|
||||||
reentrant. */
|
reentrant. */
|
||||||
#if defined(HAVE_DECL_SYS_SIGLIST) && defined(NSIG)
|
#if HAVE_DECL_SYS_SIGLIST && defined(NSIG)
|
||||||
return (signum >= 0 && signum < NSIG) ? sys_siglist[signum] : "?";
|
return (signum >= 0 && signum < NSIG) ? sys_siglist[signum] : "?";
|
||||||
#else
|
#else
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in New Issue