From: Kamal Mostafa Date: Sat, 9 Jan 2010 08:29:56 +0000 (+0000) Subject: Avoid SIGLOST==SIGPWR namespace collision on sparc (LP: #505080). X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/commitdiff_plain/287584cf1c2b80811f3ba912d8134ffbe04f07b0 Avoid SIGLOST==SIGPWR namespace collision on sparc (LP: #505080). --- diff --git a/src/tcl/tclunxst.c b/src/tcl/tclunxst.c index 89fb0cd..fcc1d3b 100644 --- a/src/tcl/tclunxst.c +++ b/src/tcl/tclunxst.c @@ -530,7 +530,7 @@ Tcl_SignalId(sig) #ifdef SIGKILL case SIGKILL: return "SIGKILL"; #endif -#if defined(SIGLOST) && (!defined(SIGIOT) || (SIGLOST != SIGIOT)) +#if defined(SIGLOST) && (!defined(SIGIOT) || (SIGLOST != SIGIOT)) && (!defined(SIGPWR) || (SIGLOST != SIGPWR)) case SIGLOST: return "SIGLOST"; #endif #ifdef SIGPIPE @@ -662,7 +662,7 @@ Tcl_SignalMsg(sig) #ifdef SIGKILL case SIGKILL: return "kill signal"; #endif -#if defined(SIGLOST) && (!defined(SIGIOT) || (SIGLOST != SIGIOT)) +#if defined(SIGLOST) && (!defined(SIGIOT) || (SIGLOST != SIGIOT)) && (!defined(SIGPWR) || (SIGLOST != SIGPWR)) case SIGLOST: return "resource lost"; #endif #ifdef SIGPIPE