summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2009-10-21 13:58:47 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2009-10-21 13:58:47 (GMT)
commite6bbad298d8df84ba97e6f019d01c1956165c915 (patch)
tree83e61844bf8b67259d1f8c8603d70c702197e46e /generic
parentb71e44a2958f126a3de29dd3641cfbc259cff627 (diff)
downloadtcl-e6bbad298d8df84ba97e6f019d01c1956165c915.zip
tcl-e6bbad298d8df84ba97e6f019d01c1956165c915.tar.gz
tcl-e6bbad298d8df84ba97e6f019d01c1956165c915.tar.bz2
Fix [Bug 2882561].
Diffstat (limited to 'generic')
-rw-r--r--generic/tclPosixStr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclPosixStr.c b/generic/tclPosixStr.c
index cc2a546..3b3467d 100644
--- a/generic/tclPosixStr.c
+++ b/generic/tclPosixStr.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclPosixStr.c,v 1.9 2002/05/27 10:14:21 dkf Exp $
+ * RCS: @(#) $Id: tclPosixStr.c,v 1.9.2.1 2009/10/21 13:58:48 dkf Exp $
*/
#include "tclInt.h"
@@ -998,7 +998,7 @@ Tcl_SignalId(sig)
#ifdef SIGQUIT
case SIGQUIT: return "SIGQUIT";
#endif
-#ifdef SIGSEGV
+#if defined(SIGSEGV) && (!defined(SIGBUS) || (SIGSEGV != SIGBUS))
case SIGSEGV: return "SIGSEGV";
#endif
#ifdef SIGSTOP
@@ -1130,7 +1130,7 @@ Tcl_SignalMsg(sig)
#ifdef SIGQUIT
case SIGQUIT: return "quit signal";
#endif
-#ifdef SIGSEGV
+#if defined(SIGSEGV) && (!defined(SIGBUS) || (SIGSEGV != SIGBUS))
case SIGSEGV: return "segmentation violation";
#endif
#ifdef SIGSTOP