Subject: CVS commit: src/usr.sbin/cron
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 07/31/2005 17:52:01
Module Name: src
Committed By: christos
Date: Sun Jul 31 17:52:01 UTC 2005
Modified Files:
src/usr.sbin/cron: popen.c
Log Message:
- eliminate a goto.
- cast more returns to void.
- use waitpid instead of wait() to wait for our process, not accidentally
wait for other children.
- return exitstatus only if exited, and return the termination signal otherwise.
To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 src/usr.sbin/cron/popen.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.