git: DragonFly_RELEASE_3_0 sh: Properly show "Not a directory" error in cd builtin.
    Peter Avalos 
    pavalos at crater.dragonflybsd.org
       
    Sun Feb  5 13:05:21 PST 2012
    
    
  
commit ad6a7666b6711b108da1dd67ef0d65d44301577b
Author: Peter Avalos <pavalos at dragonflybsd.org>
Date:   Sun Feb 5 11:44:29 2012 -0800
    sh: Properly show "Not a directory" error in cd builtin.
    
    The errno message display added in 72cbf4010 did not take attempting to
    cd to a non-directory or something that cannot be stat()ed into account.
    
    Obtained-from:  FreeBSD 230095
    (cherry picked from commit 2b271b9bd2c4b4c7b94e1d246aebde69a6e37819)
Summary of changes:
 bin/sh/cd.c                            |    9 +++++++--
 tools/regression/bin/sh/builtins/cd8.0 |   26 ++++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 2 deletions(-)
 create mode 100644 tools/regression/bin/sh/builtins/cd8.0
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ad6a7666b6711b108da1dd67ef0d65d44301577b
-- 
DragonFly BSD source repository
    
    
More information about the Commits
mailing list