mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-30 08:18:30 +00:00
Revert "Use %gs as TLS register when dlopen() is linked"
This reverts commit d71da7fc72
.
This commit is contained in:
parent
d71da7fc72
commit
956e68be59
13 changed files with 40 additions and 71 deletions
|
@ -72,7 +72,7 @@ static textwindows int __proc_wait(int pid, int *wstatus, int options,
|
|||
for (;;) {
|
||||
|
||||
// check for signals and cancelation
|
||||
int rc, sig, handler_was_called;
|
||||
int sig, handler_was_called;
|
||||
if (_check_cancel() == -1) {
|
||||
return -1;
|
||||
}
|
||||
|
@ -89,7 +89,7 @@ static textwindows int __proc_wait(int pid, int *wstatus, int options,
|
|||
// check for zombie to harvest
|
||||
__proc_lock();
|
||||
CheckForZombies:
|
||||
rc = __proc_check(pid, wstatus, rusage);
|
||||
int rc = __proc_check(pid, wstatus, rusage);
|
||||
if (rc || (options & WNOHANG)) {
|
||||
__proc_unlock();
|
||||
return rc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue