From 287584cf1c2b80811f3ba912d8134ffbe04f07b0 Mon Sep 17 00:00:00 2001 From: Kamal Mostafa Date: Sat, 9 Jan 2010 08:29:56 +0000 Subject: [PATCH 1/1] Avoid SIGLOST==SIGPWR namespace collision on sparc (LP: #505080). --- src/tcl/tclunxst.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5