diff options
author | dkf <dkf@noemail.net> | 2009-03-15 15:35:45 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2009-03-15 15:35:45 (GMT) |
commit | 31cfe428ec90f37459fe8a47cf138e724fe31a68 (patch) | |
tree | be981035ffbd7393387e42b3e18ebbbc509ad697 /generic/tclPosixStr.c | |
parent | da00d193aef8df8cb8b88a361728c96e94848367 (diff) | |
download | tcl-31cfe428ec90f37459fe8a47cf138e724fe31a68.zip tcl-31cfe428ec90f37459fe8a47cf138e724fe31a68.tar.gz tcl-31cfe428ec90f37459fe8a47cf138e724fe31a68.tar.bz2 |
Added support for SIGINFO. [Patch 1513655]
FossilOrigin-Name: 064364a7373e78601aa44de4fd8a9b33a2ca6454
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 376815e..5c1a1b9 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.14 2009/01/09 11:21:46 dkf Exp $ + * RCS: @(#) $Id: tclPosixStr.c,v 1.15 2009/03/15 15:35:46 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"; } |