Subject: CVS commit: [netbsd-4] src/sbin/shutdown
To: None <source-changes@NetBSD.org>
From: Liam J. Foy <firstname.lastname@example.org>
Date: 07/17/2007 09:50:49
Module Name: src
Committed By: liamjfoy
Date: Tue Jul 17 09:50:49 UTC 2007
src/sbin/shutdown [netbsd-4]: Makefile shutdown.c
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
- 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 -r220.127.116.11 src/sbin/shutdown/Makefile
cvs rdiff -r1.46 -r18.104.22.168 src/sbin/shutdown/shutdown.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.