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

git: DragonFly_RELEASE_3_0 sh: Use dirent.d_type in pathname generation.


From: Peter Avalos <pavalos@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 5 Feb 2012 13:05:18 -0800 (PST)

commit 596ddb7ed828757821ffef52d642777cecba2b86
Author: Peter Avalos <pavalos@dragonflybsd.org>
Date:   Sun Feb 5 11:20:09 2012 -0800

    sh: Use dirent.d_type in pathname generation.
    
    This improves performance for globs where a slash or another component
    follows a component with metacharacters by eliminating unnecessary
    attempts to open directories that are not.
    
    Obtained-from:  FreeBSD 228942
    (cherry picked from commit c601174268e0ea6cad93a733cecb3a07b2c503a6)

Summary of changes:
 bin/sh/expand.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/596ddb7ed828757821ffef52d642777cecba2b86


-- 
DragonFly BSD source repository



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