Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 10/16/2007 16:10:59
Module Name:	src
Committed By:	christos
Date:		Tue Oct 16 16:10:59 UTC 2007

Modified Files:
	src/sys/kern: init_sysctl.c

Log Message:
Don't fail to produce the argument vector if the program has modified it
by deleting arguments. This is a popular practice, and failing means that
ps(1) prints (programname). For example this is what XtOpenDisplay() with
-geometry. This used to work before 2.0H, and the behavior is allowed and
hinted by POSIX. Found out by Anon Ymous.


To generate a diff of this commit:
cvs rdiff -r1.110 -r1.111 src/sys/kern/init_sysctl.c

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