dtdocbook: on some systems SIGLOST = SIGPWR and they should not be in the same case...
authorWilliam Schaub <wschaub@genesi-tech.com>
Thu, 16 Aug 2012 17:55:41 +0000 (13:55 -0400)
committerJon Trulson <jon@radscan.com>
Thu, 16 Aug 2012 22:19:40 +0000 (16:19 -0600)
cde/programs/dtdocbook/tcl/tclPosixStr.c

index 6ad2f74ead02409e9f4cc87251602ff9942e6233..72b4c26aeb8d5ae46b3164c1d716101d2bf194ce 100644 (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