diff options
author | Jeremy Allison <jra@samba.org> | 2010-09-08 16:55:24 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-09-08 16:55:24 -0700 |
commit | fcac46a61245e6b05f88ed80ec4b554ffd55dc63 (patch) | |
tree | 52a6a7438aef1df156313dd643192b6031bad9c4 /README.Coding | |
parent | 4f0b190a3086db3789e4198f5409a2b5c1980bf9 (diff) | |
download | samba-fcac46a61245e6b05f88ed80ec4b554ffd55dc63.tar.gz samba-fcac46a61245e6b05f88ed80ec4b554ffd55dc63.tar.bz2 samba-fcac46a61245e6b05f88ed80ec4b554ffd55dc63.zip |
Optimization suggested by Metze. Without this patch,
FindFirst with 'path\to\some\dir\with\files\*'
triggers the following stat calls
path\to\some\dir\with\files\* => ENOENT
path\
path\to\
path\to\some\
path\to\some\dir\
path\to\some\dir\with\
path\to\some\dir\with\files\
path\to\some\dir\with\files\* => ENOENT
With this patch we get :
path\to\some\dir\with\files\* => ENOENT
path\to\some\dir\with\files = OK
Jeremy.
Diffstat (limited to 'README.Coding')
0 files changed, 0 insertions, 0 deletions