Subject: CVS commit: basesrc/bin/sh
To: None <source-changes@netbsd.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 09/27/2002 20:37:13
Module Name: basesrc
Committed By: mycroft
Date: Fri Sep 27 17:37:13 UTC 2002
Modified Files:
basesrc/bin/sh: eval.c
Log Message:
In evalpipe(), move the INTOFF after the waitforjob(), to prevent possible
race conditions -- now we always synchronously wait for the job to finish.
In evalcommand(), add the same INTOFF/INTON locking as evalpipe(), to prevent
leaving internal state inconsistent, and also to insure that we synchronously
wait for the job.
To generate a diff of this commit:
cvs rdiff -r1.59 -r1.60 basesrc/bin/sh/eval.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.