dtdocbook: on some systems SIGLOST = SIGPWR and they should not be in the same case statement.

This commit is contained in:
William Schaub
2012-08-16 16:19:40 -06:00
committed by Jon Trulson
parent 2532f4a5ba
commit 727b47894c
+2 -2
View File
@@ -1009,7 +1009,7 @@ Tcl_SignalId(sig)
#ifdef SIGPROF
case SIGPROF: return "SIGPROF";
#endif
#if defined(SIGPWR) && (!defined(SIGXFSZ) || (SIGPWR != SIGXFSZ))
#if defined(SIGPWR) && (SIGPWR != SIGLOST) && (!defined(SIGXFSZ) || (SIGPWR != SIGXFSZ))
case SIGPWR: return "SIGPWR";
#endif
#ifdef SIGQUIT
@@ -1141,7 +1141,7 @@ Tcl_SignalMsg(sig)
#ifdef SIGPROF
case SIGPROF: return "profiling alarm";
#endif
#if defined(SIGPWR) && (!defined(SIGXFSZ) || (SIGPWR != SIGXFSZ))
#if defined(SIGPWR) && (SIGPWR != SIGLOST) && (!defined(SIGXFSZ) || (SIGPWR != SIGXFSZ))
case SIGPWR: return "power-fail restart";
#endif
#ifdef SIGQUIT