From: Petter Reinholdtsen <pere@hungry.com>
To: sourcenav@sourceware.cygnus.com
Subject: Sparc/Linux (Debian 2.2) patch
Date: Mon, 12 Mar 2001 02:39:00 -0000 [thread overview]
Message-ID: <200103112156.WAA10954@minerva.ee.uwa.edu.au> (raw)
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
reply other threads:[~2001-03-12 2:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200103112156.WAA10954@minerva.ee.uwa.edu.au \
--to=pere@hungry.com \
--cc=sourcenav@sourceware.cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).