Subject: PR/32747 CVS commit: src/usr.sbin/powerd
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Christos Zoulas <christos@netbsd.org>
List: netbsd-bugs
Date: 02/05/2006 14:05:03
The following reply was made to PR bin/32747; it has been noted by GNATS.

From: Christos Zoulas <christos@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/32747 CVS commit: src/usr.sbin/powerd
Date: Sun,  5 Feb 2006 14:03:46 +0000 (UTC)

 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.