Subject: CVS commit: src/bin/sh
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 12/18/2003 00:56:05
Module Name:	src
Committed By:	christos
Date:		Thu Dec 18 00:56:05 UTC 2003

Modified Files:
	src/bin/sh: jobs.c

Log Message:
PR/23786: Robert Nestor: wait command returns the wrong status code. This
seems to be an off-by-one error, since njobs is decremented before we use
it. I hope this does not break the vfork case!


To generate a diff of this commit:
cvs rdiff -r1.61 -r1.62 src/bin/sh/jobs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.