svn commit: samba r5068 - in branches/SAMBA_4_0/source/torture/raw: .

jra at samba.org jra at samba.org
Fri Jan 28 23:16:19 GMT 2005


Author: jra
Date: 2005-01-28 23:16:19 +0000 (Fri, 28 Jan 2005)
New Revision: 5068

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

Log:
I'm pretty sure an old search request is allowed to return changed case
versions of filenames. Tridge please check I haven't screwed this up.
Jeremy.

Modified:
   branches/SAMBA_4_0/source/torture/raw/search.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/raw/search.c
===================================================================
--- branches/SAMBA_4_0/source/torture/raw/search.c	2005-01-28 22:12:35 UTC (rev 5067)
+++ branches/SAMBA_4_0/source/torture/raw/search.c	2005-01-28 23:16:19 UTC (rev 5068)
@@ -682,7 +682,7 @@
 				s = result.list[i].search.name;
 			}
 			asprintf(&fname, "t%03d-%d.txt", i, i);
-			if (strcmp(fname, s)) {
+			if (strcasecmp(fname, s)) {
 				printf("Incorrect name %s at entry %d\n", s, i);
 				ret = False;
 				break;



More information about the samba-cvs mailing list