Subject: CVS commit: basesrc/usr.bin/make
To: None <source-changes@netbsd.org>
From: Andreas Gustafsson <gson@netbsd.org>
List: source-changes
Date: 11/17/2002 00:22:24
Module Name: basesrc
Committed By: gson
Date: Sat Nov 16 22:22:24 UTC 2002
Modified Files:
basesrc/usr.bin/make: job.c job.h
Log Message:
Fixed race condition that would cause make -j to pause for five
seconds if a SIGCHLD arrived while make was not blocked in poll(),
by making the SIGCHLD handler write to a pipe included in the poll.
Avoided the need to implement a duplicate fix for the USE_SELECT case
by emulating poll() in terms of select() when USE_SELECT is defined.
Fixes bin/18895.
To generate a diff of this commit:
cvs rdiff -r1.72 -r1.73 basesrc/usr.bin/make/job.c
cvs rdiff -r1.16 -r1.17 basesrc/usr.bin/make/job.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.