From 727b47894cc3dbfef8ae3e9a989e13000259f867 Mon Sep 17 00:00:00 2001 From: William Schaub Date: Thu, 16 Aug 2012 13:55:41 -0400 Subject: [PATCH] dtdocbook: on some systems SIGLOST = SIGPWR and they should not be in the same case statement. --- cde/programs/dtdocbook/tcl/tclPosixStr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cde/programs/dtdocbook/tcl/tclPosixStr.c b/cde/programs/dtdocbook/tcl/tclPosixStr.c index 6ad2f74ea..72b4c26ae 100644 --- a/cde/programs/dtdocbook/tcl/tclPosixStr.c +++ b/cde/programs/dtdocbook/tcl/tclPosixStr.c @@ -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