Ignore:
Timestamp:
Apr 9, 2010, 3:51:41 PM (15 years ago)
Author:
Silvan Scherrer
Message:

Samba 3.5.x: trunk update to 3.5.2

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source3/modules/vfs_scannedonly.c

    r414 r429  
    823823        path_w_slash = name_w_ending_slash(ctx,path);
    824824        dirp = SMB_VFS_NEXT_OPENDIR(handle, path, NULL, 0);
     825        if (!dirp) {
     826                return -1;
     827        }
    825828        while ((dire = SMB_VFS_NEXT_READDIR(handle, dirp, NULL)) != NULL) {
    826829                if (ISDOT(dire->d_name) || ISDOTDOT(dire->d_name)) {
     
    879882                }
    880883        }
    881         return SMB_VFS_NEXT_CLOSEDIR(handle, dirp);
     884        SMB_VFS_NEXT_CLOSEDIR(handle, dirp);
     885        return SMB_VFS_NEXT_RMDIR(handle, path);
    882886}
    883887
Note: See TracChangeset for help on using the changeset viewer.