summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>1998-09-26 14:32:11 +0000
committerwtc%netscape.com <devnull@localhost>1998-09-26 14:32:11 +0000
commita940dada0ecfa9a060941cf77ae7f33dfc32ec62 (patch)
tree67bd6faa84d35052014d3612907e60e6e11d44f4
parent70a29db0569d89d1cab99ed42f11bdd65247529a (diff)
downloadnspr-hg-a940dada0ecfa9a060941cf77ae7f33dfc32ec62.tar.gz
Temporary fix: comment out the exit() wrapper so that at least
Mozilla client builds and runs. We will fix the wrong exit status bug or zombie sproc bug later (which the exit() wrapper is for).
-rw-r--r--pr/src/md/unix/irix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pr/src/md/unix/irix.c b/pr/src/md/unix/irix.c
index 6638a10a..7d94e815 100644
--- a/pr/src/md/unix/irix.c
+++ b/pr/src/md/unix/irix.c
@@ -990,6 +990,7 @@ PRThread *me = _PR_MD_CURRENT_THREAD();
}
}
+#if 0 /* wtc: comment out */
/*
* Override the exit() function in libc to cause the process to exit
* when the primodial/main nspr thread calls exit. Calls to exit by any
@@ -1002,12 +1003,10 @@ void exit(int status)
{
PRThread *me, *thr;
PRCList *qp;
-#if 0 /* wtc: comment out */
-void __exit(int status);
+void __exit(int status); /* XXX some IRIX machines don't have this symbol */
if (!_pr_initialized)
__exit(status);
-#endif /* 0 */
me = _PR_MD_CURRENT_THREAD();
@@ -1082,6 +1081,7 @@ void __exit(int status);
(*libc_exit)(status);
}
}
+#endif /* 0 */
void