Subject: CVS commit: [netbsd-4] src/sbin/shutdown
To: None <>
From: Liam J. Foy <>
List: source-changes
Date: 07/17/2007 09:50:49
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.