The Samba-Bugzilla – Attachment 1041 Details for
Bug 2335
OS/2 xcopy command fails on empty dirs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix I've applied.
look (text/plain), 808 bytes, created by
Jeremy Allison
on 2005-03-16 16:31:23 UTC
(
hide
)
Description:
Fix I've applied.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2005-03-16 16:31:23 UTC
Size:
808 bytes
patch
obsolete
>Index: smbd/trans2.c >=================================================================== >--- smbd/trans2.c (revision 5835) >+++ smbd/trans2.c (working copy) >@@ -1485,12 +1485,18 @@ > > /* > * If there are no matching entries we must return ERRDOS/ERRbadfile - >- * from observation of NT. >+ * from observation of NT. NB. This changes to ERRDOS,ERRnofiles if >+ * the protocol level is less than NT1. Tested with smbclient. JRA. >+ * This should fix the OS/2 client bug #2335. > */ > > if(numentries == 0) { > dptr_close(&dptr_num); >- return ERROR_DOS(ERRDOS,ERRbadfile); >+ if (protocol < PROTOCOL_NT1) { >+ return ERROR_DOS(ERRDOS,ERRnofiles); >+ } else { >+ return ERROR_BOTH(NT_STATUS_NO_SUCH_FILE,ERRDOS,ERRbadfile); >+ } > } > > /* At this point pdata points to numentries directory entries. */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2335
: 1041