* Sparc/Linux (Debian 2.2) patch
@ 2001-03-12 2:39 Petter Reinholdtsen
0 siblings, 0 replies; only message in thread
From: Petter Reinholdtsen @ 2001-03-12 2:39 UTC (permalink / raw)
To: sourcenav
I had to apply the following patch to get Source Navigator to compile
on Debian 2.2 on Sparc. SIGLOST and SIGPWR had the same value.
diff -ur src-452/tcl8.1/generic/tclPosixStr.c src-452-local/tcl8.1/generic/tclPosixStr.c
--- src-452/tcl8.1/generic/tclPosixStr.c Mon Dec 4 10:26:08 2000
+++ src-452-local/tcl8.1/generic/tclPosixStr.c Sun Mar 11 22:23:29 2001
@@ -975,7 +975,7 @@
case SIGKILL: return "SIGKILL";
#endif
#if defined(SIGLOST) && (!defined(SIGIOT) || (SIGLOST != SIGIOT)) && (!defined(SIGURG) || (SIGLOST != SIGURG)) && (!defined(SIGPROF) || (SIGLOST != SIGPROF)) && (!defined(SIGIO) || (SIGLOST != SIGIO))
- case SIGLOST: return "SIGLOST";
+ case SIGLOST: return "SIGLOST"; /* XXXXX */
#endif
#ifdef SIGPIPE
case SIGPIPE: return "SIGPIPE";
@@ -986,8 +986,10 @@
#ifdef SIGPROF
case SIGPROF: return "SIGPROF";
#endif
-#if defined(SIGPWR) && (!defined(SIGXFSZ) || (SIGPWR != SIGXFSZ))
- case SIGPWR: return "SIGPWR";
+
+/* SIGPWR and SIGLOST seem to be the sane on Sparc Debian GNU/Linux 2.2 */
+#if defined(SIGPWR) && (SIGPWR != SIGLOST) && (!defined(SIGXFSZ) || (SIGPWR !=
SIGXFSZ))
+ case SIGPWR: return "SIGPWR"; /* XXXXX */
#endif
#ifdef SIGQUIT
case SIGQUIT: return "SIGQUIT";
@@ -1107,7 +1109,7 @@
case SIGKILL: return "kill signal";
#endif
#if defined(SIGLOST) && (!defined(SIGIOT) || (SIGLOST != SIGIOT)) && (!defined(SIGURG) || (SIGLOST != SIGURG)) && (!defined(SIGPROF) || (SIGLOST != SIGPROF)) && (!defined(SIGIO) || (SIGLOST != SIGIO))
- case SIGLOST: return "resource lost";
+ case SIGLOST: return "resource lost"; /* XXXXX */
#endif
#ifdef SIGPIPE
case SIGPIPE: return "write on pipe with no readers";
@@ -1118,8 +1120,8 @@
#ifdef SIGPROF
case SIGPROF: return "profiling alarm";
#endif
-#if defined(SIGPWR) && (!defined(SIGXFSZ) || (SIGPWR != SIGXFSZ))
- case SIGPWR: return "power-fail restart";
+#if defined(SIGPWR) && (SIGPWR != SIGLOST) && (!defined(SIGXFSZ) || (SIGPWR !=
SIGXFSZ))
+ case SIGPWR: return "power-fail restart"; /* XXXXX */
#endif
#ifdef SIGQUIT
case SIGQUIT: return "quit signal";
--
##> Petter Reinholdtsen <## | pere@td.org.uit.no
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-03-12 2:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-12 2:39 Sparc/Linux (Debian 2.2) patch Petter Reinholdtsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).