summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwlemb <wlemb>2003-11-19 16:59:29 +0000
committerwlemb <wlemb>2003-11-19 16:59:29 +0000
commitd26bf8fbb90b789607b02b46102996e8f87e45fd (patch)
tree1bbeb61bd705f42e39be501fb81dfa7a0c3a8228
parentb2438879c84595be5d62fb639cd6fb95db873365 (diff)
downloadgroff-d26bf8fbb90b789607b02b46102996e8f87e45fd.tar.gz
* src/roff/groff/pipeline.c (xstrsignal): Fix usage of
HAVE_DECL_SYS_LIST.
-rw-r--r--ChangeLog5
-rw-r--r--src/roff/groff/pipeline.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c09d9224..186cff00 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-11-18 Keith Marshall <keith.d.marshall@ntlworld.com>
+
+ * src/roff/groff/pipeline.c (xstrsignal): Fix usage of
+ HAVE_DECL_SYS_LIST.
+
2003-11-17 Werner LEMBERG <wl@gnu.org>
* COPYING: Use correct version.
diff --git a/src/roff/groff/pipeline.c b/src/roff/groff/pipeline.c
index 92fe6c9f..cb35a80f 100644
--- a/src/roff/groff/pipeline.c
+++ b/src/roff/groff/pipeline.c
@@ -529,7 +529,7 @@ xstrsignal(int n)
static char buf[sizeof("Signal ") + 1 + sizeof(int) * 3];
#ifdef NSIG
-#ifdef HAVE_DECL_SYS_SIGLIST
+#if HAVE_DECL_SYS_SIGLIST
if (n >= 0 && n < NSIG && sys_siglist[n] != 0)
return sys_siglist[n];
#endif /* HAVE_DECL_SYS_SIGLIST */