Revert accidentally commited local change to bmake to prevent debilitating
excess system time from poor API usage. Approved by: sbruno@
This commit is contained in:
parent
06bf2a6aef
commit
329d20de97
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=333467
@ -2121,15 +2121,13 @@ Job_CatchOutput(void)
|
||||
{
|
||||
int nready;
|
||||
Job *job;
|
||||
int i, pollToken;
|
||||
int i;
|
||||
|
||||
(void)fflush(stdout);
|
||||
|
||||
pollToken = 0;
|
||||
|
||||
/* The first fd in the list is the job token pipe */
|
||||
do {
|
||||
nready = poll(fds + 1 - pollToken, nfds - 1 + pollToken, POLL_MSEC);
|
||||
nready = poll(fds + 1 - wantToken, nfds - 1 + wantToken, POLL_MSEC);
|
||||
} while (nready < 0 && errno == EINTR);
|
||||
|
||||
if (nready < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user