result |= aHIDDEN;
}
- if (is_hidden_path(SNUM(cnum), path))
- {
- result |= aHIDDEN;
- }
-
return(result);
}
check_mangled_stack(name);
/* open the directory */
- if (!(cur_dir = OpenDir(snum, path)))
+ if (!(cur_dir = OpenDir(path)))
{
DEBUG(3,("scan dir didn't open dir [%s]\n",path));
return(False);
errno = 0;
- if( is_vetoed_path(SNUM(cnum), name))
+ if( is_vetoed_path(name))
{
DEBUG(5,("file path name %s vetoed\n",name));
return(0);