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

git: sh: Do parameter expansion on ENV before using it.


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

commit ccbebcd9aeb9c9d465a3e1204596cc6d0e145278
Author: Peter Avalos <pavalos@dragonflybsd.org>
Date:   Sun Aug 21 13:38:33 2011 -0700

    sh: Do parameter expansion on ENV before using it.
    
    This is required by POSIX, and allows things like ENV=\$HOME/.shrc.
    
    Obtained-from:   FreeBSD 222957

Summary of changes:
 bin/sh/main.c                             |   12 +++++++++---
 bin/sh/sh.1                               |    6 +++---
 tools/regression/bin/sh/parameters/env1.0 |   11 +++++++++++
 3 files changed, 23 insertions(+), 6 deletions(-)
 create mode 100644 tools/regression/bin/sh/parameters/env1.0

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ccbebcd9aeb9c9d465a3e1204596cc6d0e145278


-- 
DragonFly BSD source repository



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