git: sh: Fix unquoted $@/$* if IFS=''.
Peter Avalos
pavalos at crater.dragonflybsd.org
Sun Aug 21 16:33:03 PDT 2011
commit 5b14c76dd79484f6131bc857929bd01f68ca8736
Author: Peter Avalos <pavalos at dragonflybsd.org>
Date: Sun Aug 21 12:39:23 2011 -0700
sh: Fix unquoted $@/$* if IFS=''.
If IFS is null, unquoted $@/$* should still expand to separate words.
This differs from quoted $@ (which does not depend on IFS) in that
pathname generation is performed and empty words are removed.
Obtained-from: FreeBSD 222361
Summary of changes:
bin/sh/expand.c | 9 ++++--
tools/regression/bin/sh/expansion/ifs4.0 | 39 ++++++++++++++++++++++++++++++
2 files changed, 45 insertions(+), 3 deletions(-)
create mode 100644 tools/regression/bin/sh/expansion/ifs4.0
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5b14c76dd79484f6131bc857929bd01f68ca8736
--
DragonFly BSD source repository
More information about the Commits
mailing list