git: sh: Correct criterion for using CDPATH in cd.
    Peter Avalos 
    pavalos at crater.dragonflybsd.org
       
    Sun Aug 21 16:33:03 PDT 2011
    
    
  
commit db98aac00aa4b78e8811da43a1a6366f4feff158
Author: Peter Avalos <pavalos at dragonflybsd.org>
Date:   Sun Aug 21 12:46:44 2011 -0700
    sh: Correct criterion for using CDPATH in cd.
    
    CDPATH should be ignored not only for pathnames starting with '/' but
    also for pathnames whose first component is '.' or '..'.
    
    Obtained-from:   FreeBSD 222381
Summary of changes:
 bin/sh/cd.c                            |    7 +++++--
 tools/regression/bin/sh/builtins/cd6.0 |   10 ++++++++++
 tools/regression/bin/sh/builtins/cd7.0 |   15 +++++++++++++++
 3 files changed, 30 insertions(+), 2 deletions(-)
 create mode 100644 tools/regression/bin/sh/builtins/cd6.0
 create mode 100644 tools/regression/bin/sh/builtins/cd7.0
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/db98aac00aa4b78e8811da43a1a6366f4feff158
-- 
DragonFly BSD source repository
    
    
More information about the Commits
mailing list