mirror of
https://github.com/samba-team/samba.git
synced 2025-07-30 19:42:05 +03:00
r5160: First cut at refactoring of directory code to handle non-wildcard
directory match more efficiently. Passes RAW-SEARCH under valgrind but needs more testing (which I'll do later today :-). Jeremy.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
d6c7de2408
commit
0b04dd9d0c
@ -454,7 +454,7 @@ static BOOL scan_directory(connection_struct *conn, const char *path, char *name
|
||||
mangled = !mangle_check_cache( name, maxlength );
|
||||
|
||||
/* open the directory */
|
||||
if (!(cur_dir = OpenDir(conn, path, True))) {
|
||||
if (!(cur_dir = OpenDir(conn, path))) {
|
||||
DEBUG(3,("scan dir didn't open dir [%s]\n",path));
|
||||
return(False);
|
||||
}
|
||||
|
Reference in New Issue
Block a user