1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

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 13:55:41 -04:00 committed by Jon Trulson
parent 2532f4a5ba
commit 727b47894c

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