git: sh: Fix unquoted $@/$* if IFS=''.

看板DFBSD_commit作者時間14年前 (2011/08/22 08:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 5b14c76dd79484f6131bc857929bd01f68ca8736 Author: Peter Avalos <pavalos@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
文章代碼(AID): #1EKPnAV5 (DFBSD_commit)