Subject: CVS commit: [netbsd-4] src/bin/sh
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 09/01/2006 14:59:13
Module Name:	src
Committed By:	tron
Date:		Fri Sep  1 14:59:13 UTC 2006

Modified Files:
	src/bin/sh [netbsd-4]: expand.c

Log Message:
Pull up following revision(s) (requested by dsl in ticket #84):
	bin/sh/expand.c: revision 1.76
Set the 'not a parameter' flag when we skip initial whitespace.
Otherwise:
    ./sh -c 'x=" "; for a in $x; do echo a${a}a; done'
is processed as a single empty parameter (instead of no parameters).
Should fix the breakage I introdiced in rev 1.75 and PR/34256 and PR/34254


To generate a diff of this commit:
cvs rdiff -r1.74.2.1 -r1.74.2.2 src/bin/sh/expand.c

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