svn commit: samba r4067 - in branches/SAMBA_4_0/source/ntvfs/posix: .

tridge at samba.org tridge at samba.org
Sun Dec 5 07:58:59 GMT 2004


Author: tridge
Date: 2004-12-05 07:58:58 +0000 (Sun, 05 Dec 2004)
New Revision: 4067

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

Log:
no matches in findnext is not an error








Modified:
   branches/SAMBA_4_0/source/ntvfs/posix/pvfs_search.c


Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/posix/pvfs_search.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/posix/pvfs_search.c	2004-12-05 07:53:57 UTC (rev 4066)
+++ branches/SAMBA_4_0/source/ntvfs/posix/pvfs_search.c	2004-12-05 07:58:58 UTC (rev 4067)
@@ -552,11 +552,6 @@
 		return status;
 	}
 
-	/* not matching any entries is an error */
-	if (reply_count == 0) {
-		return NT_STATUS_NO_MORE_ENTRIES;
-	}
-
 	io->t2fnext.out.count = reply_count;
 	io->t2fnext.out.end_of_search = pvfs_list_eos(dir, search->current_index) ? 1 : 0;
 



More information about the samba-cvs mailing list