Subject: CVS commit: src/usr.sbin/powerd
To: None <>
From: Christos Zoulas <>
List: source-changes
Date: 02/05/2006 14:03:46
Module Name:	src
Committed By:	christos
Date:		Sun Feb  5 14:03:46 UTC 2006

Modified Files:
	src/usr.sbin/powerd: powerd.c

Log Message:
PR/32747: Michael van Elst: Set close on exec on /dev/power fd so that it
is not open from the child process. While I am here:
- KNF, pass lint.
- Fix a bug where the outer loop index was re-used in the inner loop.
- Check the return code of wait.

To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/usr.sbin/powerd/powerd.c

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