diff options
author | dkf <dkf@noemail.net> | 2009-03-15 15:38:19 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2009-03-15 15:38:19 (GMT) |
commit | 13917583726f19a5b222cb012a3d7ae00c0365d4 (patch) | |
tree | 81f103c97293cf6fc73f7a5a59d893ada245580d /generic/tclPosixStr.c | |
parent | 13d8fc2ff3c32def7d605120f713f2e51d53b2a1 (diff) | |
download | tcl-13917583726f19a5b222cb012a3d7ae00c0365d4.zip tcl-13917583726f19a5b222cb012a3d7ae00c0365d4.tar.gz tcl-13917583726f19a5b222cb012a3d7ae00c0365d4.tar.bz2 |
Added support for SIGINFO. [Patch 1513655]
FossilOrigin-Name: b60628dc1db4fb96a3c445e3f9c347eed56c0a2d
Diffstat (limited to 'generic/tclPosixStr.c')
-rw-r--r-- | generic/tclPosixStr.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/generic/tclPosixStr.c b/generic/tclPosixStr.c index a48c2dd..31fccba 100644 --- a/generic/tclPosixStr.c +++ b/generic/tclPosixStr.c @@ -10,7 +10,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.12 2005/11/07 15:16:03 dkf Exp $ + * RCS: @(#) $Id: tclPosixStr.c,v 1.12.10.1 2009/03/15 15:38:19 dkf Exp $ */ #include "tclInt.h" @@ -1039,6 +1039,9 @@ Tcl_SignalId( #ifdef SIGXFSZ case SIGXFSZ: return "SIGXFSZ"; #endif +#if defined(SIGINFO) && (!defined(SIGPWR) || (SIGINFO != SIGPWR)) + case SIGINFO: return "SIGINFO"; +#endif } return "unknown signal"; } @@ -1170,6 +1173,9 @@ Tcl_SignalMsg( #ifdef SIGXFSZ case SIGXFSZ: return "exceeded file size limit"; #endif +#if defined(SIGINFO) && (!defined(SIGPWR) || (SIGINFO != SIGPWR)) + case SIGINFO: return "information request"; +#endif } return "unknown signal"; } |