Subject: PR/34256 CVS commit: src/bin/sh
To: None <,,,>
From: David Laight <>
List: netbsd-bugs
Date: 08/22/2006 18:15:23
The following reply was made to PR bin/34256; it has been noted by GNATS.

From: David Laight <>
Subject: PR/34256 CVS commit: src/bin/sh
Date: Tue, 22 Aug 2006 18:11:42 +0000 (UTC)

 Module Name:	src
 Committed By:	dsl
 Date:		Tue Aug 22 18:11:42 UTC 2006
 Modified Files:
 	src/bin/sh: expand.c
 Log Message:
 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.75 -r1.76 src/bin/sh/expand.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.