svn commit: samba r5831 - in branches/SAMBA_3_0/source/smbd: .

jmcd at samba.org jmcd at samba.org
Wed Mar 16 16:14:05 GMT 2005


Author: jmcd
Date: 2005-03-16 16:14:04 +0000 (Wed, 16 Mar 2005)
New Revision: 5831

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5831

Log:
Along with jra's recent checkins, fix dir/xcopy of empty dirs on OS/2.  Bugs
2335, 2337.

Modified:
   branches/SAMBA_3_0/source/smbd/trans2.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/trans2.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/trans2.c	2005-03-16 15:47:19 UTC (rev 5830)
+++ branches/SAMBA_3_0/source/smbd/trans2.c	2005-03-16 16:14:04 UTC (rev 5831)
@@ -1484,13 +1484,13 @@
 	}
 
 	/* 
-	 * 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. */



More information about the samba-cvs mailing list