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

Peter Avalos pavalos at crater.dragonflybsd.org
Sun Aug 21 16:33:00 PDT 2011


commit b6942187683e0524c76f59c4eae6a5eb85e930fa
Author: Peter Avalos <pavalos at 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





More information about the Commits mailing list