summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2009-03-15 15:38:19 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2009-03-15 15:38:19 (GMT)
commite9faab76a114f2450bf2bc9966992e0e180efe30 (patch)
tree81f103c97293cf6fc73f7a5a59d893ada245580d
parent153e08d5cd7c0d6b7c7d8078214b575d04b4ae90 (diff)
downloadtcl-e9faab76a114f2450bf2bc9966992e0e180efe30.zip
tcl-e9faab76a114f2450bf2bc9966992e0e180efe30.tar.gz
tcl-e9faab76a114f2450bf2bc9966992e0e180efe30.tar.bz2
Added support for SIGINFO. [Patch 1513655]
-rw-r--r--ChangeLog5
-rw-r--r--generic/tclPosixStr.c8
2 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 029392e..dcefdc3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-03-15 Donal K. Fellows <dkf@users.sf.net>
+
+ * generic/tclPosixStr.c (Tcl_SignalId,Tcl_SignalMsg): [Patch 1513655]:
+ Added support for SIGINFO, which is present on BSD platforms.
+
2009-02-20 Don Porter <dgp@users.sourceforge.net>
* generic/tclPathObj.c: Fixed mistaken logic in TclFSGetPathType()
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";
}