Subject: PR/36626 CVS commit: [netbsd-4] src/sbin/shutdown
To: None <jnemeth@NetBSD.org, gnats-admin@netbsd.org,>
From: Liam J. Foy <liamjfoy@netbsd.org>
List: netbsd-bugs
Date: 07/17/2007 09:55:02
The following reply was made to PR bin/36626; it has been noted by GNATS.

From: "Liam J. Foy" <liamjfoy@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/36626 CVS commit: [netbsd-4] src/sbin/shutdown
Date: Tue, 17 Jul 2007 09:50:49 +0000 (UTC)

 Module Name:	src
 Committed By:	liamjfoy
 Date:		Tue Jul 17 09:50:49 UTC 2007
 
 Modified Files:
 	src/sbin/shutdown [netbsd-4]: Makefile shutdown.c
 
 Log Message:
 Pull up following revision(s) (requested by jnemeth in ticket #771):
 	sbin/shutdown/Makefile: revision 1.9
 	sbin/shutdown/shutdown.c: revision 1.47
 	sbin/shutdown/shutdown.c: revision 1.48
 - sprinkle static
 - pass WARNS=4 and lint
 - use size_t/time_t where appropriate
 - get/setprogname()
 - before executing rc.shutdown, set the real user id to 0, because shutdown
   scripts may depend on it (for example su depends on being root).
 - use warn instead of perror, and make sure we use the right errno.
 
 PR/36626 - Jukka Salmi -- fails to compile if DEBUG is defined
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.8 -r1.8.30.1 src/sbin/shutdown/Makefile
 cvs rdiff -r1.46 -r1.46.4.1 src/sbin/shutdown/shutdown.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.