Subject: PR/33472 CVS commit: src/bin/sh
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, rillig@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: netbsd-bugs
Date: 05/20/2006 14:00:04
The following reply was made to PR bin/33472; it has been noted by GNATS.
From: David Laight <dsl@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/33472 CVS commit: src/bin/sh
Date: Sat, 20 May 2006 13:57:27 +0000 (UTC)
Module Name: src
Committed By: dsl
Date: Sat May 20 13:57:27 UTC 2006
Modified Files:
src/bin/sh: expand.c
Log Message:
When expanding "$@" add a \0 byte after the last argument (as well as all
the earlier ones) so that a separator is added before it when it is empty.
This wasn't needed before a recent change that chenged the behaviour of
trailing whitespace IFS characters.
Fixed PR/33472
To generate a diff of this commit:
cvs rdiff -r1.73 -r1.74 src/bin/sh/expand.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.