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

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


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

commit c601174268e0ea6cad93a733cecb3a07b2c503a6
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

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

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


-- 
DragonFly BSD source repository



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