mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-23 02:47:07 +00:00
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).
This commit is contained in:
parent
89f6a75297
commit
1ccc30b706
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user