summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-10-05 18:44:32 +0200
committerDan McGee <dan@archlinux.org>2010-10-11 17:06:03 +0200
commitdff73a2a69de1c55a0ba9fe75a9f7a900e5ed15b (patch)
treec122d89c3dbf1480790173b1debd80d0a428f703 /configure.ac
parentbef19a266bf5d80b68cab02f6a3ccc3fcedbec6d (diff)
downloadpacman-dff73a2a69de1c55a0ba9fe75a9f7a900e5ed15b.tar.gz
pacman-dff73a2a69de1c55a0ba9fe75a9f7a900e5ed15b.tar.xz
Avoid stat call to determine is_directory if possible
On Linux and OS X, we can determine if an entry obtained through a readdir() call is a directory without also having to stat it. This can save a significant number of syscalls. The performance increase isn't dramatic, but it could be on some platforms (e.g. Cygwin) so it shouldn't hurt to use this unconditionally where supported. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions