commit c601174268e0ea6cad93a733cecb3a07b2c503a6
Author: Peter Avalos <[email protected]>
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