Subject: PR/34256 CVS commit: [netbsd-3] src/bin/sh
To: None <,,,>
From: Geert Hendrickx <>
List: netbsd-bugs
Date: 09/02/2006 20:40:10
The following reply was made to PR bin/34256; it has been noted by GNATS.

From: Geert Hendrickx <>
Subject: PR/34256 CVS commit: [netbsd-3] src/bin/sh
Date: Sat,  2 Sep 2006 20:39:51 +0000 (UTC)

 Module Name:	src
 Committed By:	ghen
 Date:		Sat Sep  2 20:39:51 UTC 2006
 Modified Files:
 	src/bin/sh [netbsd-3]: expand.c
 Log Message:
 Pull up following revision(s) (requested by dsl in ticket #1488):
 	bin/sh/expand.c: revision 1.76
 Set the 'not a parameter' flag when we skip initial whitespace.
     ./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.68.2.4 -r1.68.2.5 src/bin/sh/expand.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.