git: sh: Do not word split "${#parameter}".

看板DFBSD_commit作者時間14年前 (2011/08/22 08:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit b6942187683e0524c76f59c4eae6a5eb85e930fa Author: Peter Avalos <pavalos@dragonflybsd.org> Date: Sat Jul 2 13:28:01 2011 -1000 sh: Do not word split "${#parameter}". This is only a problem if IFS contains digits, which is unusual but valid. Obtained-from: FreeBSD SVN rev 221522 Summary of changes: bin/sh/parser.c | 6 +++--- tools/regression/bin/sh/expansion/length6.0 | 8 ++++++++ 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 tools/regression/bin/sh/expansion/length6.0 http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b6942187683e0524c76f59c4eae6a5eb85e930fa -- DragonFly BSD source repository
文章代碼(AID): #1EKPn9xM (DFBSD_commit)