search for: dos_opendir

Displaying 1 result from an estimated 1 matches for "dos_opendir".

Did you mean: dosfs_opendir
2001 Apr 14
4
Code to hide inaccessible files/directories
...ve sent diffs, but this change was made *after* FreeBSD specific patches were applied to the samba source, and I don't know how that would affect a diff) Hope this is useful to people. -Bill void *OpenDir(connection_struct *conn, char *name, BOOL use_veto) { Dir *dirp; char *n; DIR *p = dos_opendir(name); int used=0; char *fullPath; if (!p) return(NULL); dirp = (Dir *)malloc(sizeof(Dir)); if (!dirp) { closedir(p); return(NULL); } fullPath = (char *)malloc(2048); if (!fullPath) { closedir(p); return(NULL); } dirp->pos = dirp->numentries = dirp->mal...