git: printenv(1): Rework how env vars are looked up.

Stathis Kamperis beket at crater.dragonflybsd.org
Sat Aug 8 11:26:11 PDT 2009


commit 483fa1da3db3d149ac5ca622abdb2e758e91d389
Author: Stathis Kamperis <beket at dragonflybsd.org>
Date:   Fri Jul 24 13:13:23 2009 +0300

    printenv(1): Rework how env vars are looked up.
    
    Before:
    ~% env foo=bar=lala printenv foo
    bar=lala
    ~% env foo=bar=lala printenv foo=bar
    lala
    ~%
    
    After:
    ~% env foo=bar=lala printenv foo
    bar=lala
    ~% env foo=bar=lala printenv foo=bar
    ~%
    
    Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1341>

Summary of changes:
 usr.bin/printenv/printenv.c |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/483fa1da3db3d149ac5ca622abdb2e758e91d389


-- 
DragonFly BSD source repository





More information about the Commits mailing list