mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
r5831: Along with jra's recent checkins, fix dir/xcopy of empty dirs on OS/2. Bugs
2335, 2337.
(This used to be commit 2312ac9d42
)
This commit is contained in:
parent
4ba71014d6
commit
e2673ae1c5
@ -1484,13 +1484,13 @@ close_if_end = %d requires_resume_key = %d level = 0x%x, max_data_bytes = %d\n",
|
||||
}
|
||||
|
||||
/*
|
||||
* If there are no matching entries we must return ERRDOS/ERRbadfile -
|
||||
* If there are no matching entries we must return ERRDOS/ERRnofiles -
|
||||
* from observation of NT.
|
||||
*/
|
||||
|
||||
if(numentries == 0) {
|
||||
dptr_close(&dptr_num);
|
||||
return ERROR_DOS(ERRDOS,ERRbadfile);
|
||||
return ERROR_DOS(ERRDOS,ERRnofiles);
|
||||
}
|
||||
|
||||
/* At this point pdata points to numentries directory entries. */
|
||||
|
Loading…
Reference in New Issue
Block a user