DragonFly BSD
DragonFly commits List (threaded) for 2011-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Peter Avalos <pavalos@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 21 Aug 2011 16:31:54 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]