svn commit: samba r2213 - in branches/SAMBA_3_0/source/lib: .
jra at samba.org
jra at samba.org
Fri Sep 3 17:44:27 GMT 2004
Author: jra
Date: 2004-09-03 17:44:27 +0000 (Fri, 03 Sep 2004)
New Revision: 2213
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_3_0/source/lib&rev=2213&nolog=1
Log:
Optimisation. Passes masktest against W2K3.
Jeremy.
Modified:
branches/SAMBA_3_0/source/lib/ms_fnmatch.c
Changeset:
Modified: branches/SAMBA_3_0/source/lib/ms_fnmatch.c
===================================================================
--- branches/SAMBA_3_0/source/lib/ms_fnmatch.c 2004-09-03 17:44:07 UTC (rev 2212)
+++ branches/SAMBA_3_0/source/lib/ms_fnmatch.c 2004-09-03 17:44:27 UTC (rev 2213)
@@ -179,6 +179,9 @@
break;
case UCS2_CHAR('*'):
+ while (*p == UCS2_CHAR('*')) {
+ p++;
+ }
for (; *n; n++) {
if (ms_fnmatch_w(p, n, protocol, case_sensitive) == 0) return 0;
}
More information about the samba-cvs
mailing list