diff options
author | dkf <dkf@noemail.net> | 2009-10-21 13:58:47 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2009-10-21 13:58:47 (GMT) |
commit | de0c596679c974859f475137abadf10ba19f84f0 (patch) | |
tree | 83e61844bf8b67259d1f8c8603d70c702197e46e /generic/tclPosixStr.c | |
parent | dea4a88e9a55ec8d7066840341204f7725fb5017 (diff) | |
download | tcl-de0c596679c974859f475137abadf10ba19f84f0.zip tcl-de0c596679c974859f475137abadf10ba19f84f0.tar.gz tcl-de0c596679c974859f475137abadf10ba19f84f0.tar.bz2 |
Fix [Bug 2882561].
FossilOrigin-Name: 16a2810e25c61fe405a5d8d5be34610f1e899a73
Diffstat (limited to 'generic/tclPosixStr.c')
-rw-r--r-- | generic/tclPosixStr.c | 6 |
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 |