Author: mmacy Date: Thu May 10 17:57:46 2018 New Revision: 333467 URL: https://svnweb.freebsd.org/changeset/base/333467
Log: Revert accidentally commited local change to bmake to prevent debilitating excess system time from poor API usage. Approved by: sbruno@ Modified: head/contrib/bmake/job.c Modified: head/contrib/bmake/job.c ============================================================================== --- head/contrib/bmake/job.c Thu May 10 17:55:24 2018 (r333466) +++ head/contrib/bmake/job.c Thu May 10 17:57:46 2018 (r333467) @@ -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) _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"