svn commit: samba r2214 - in trunk/source/lib: .
jra at samba.org
jra at samba.org
Fri Sep 3 17:45:09 GMT 2004
Author: jra
Date: 2004-09-03 17:45:08 +0000 (Fri, 03 Sep 2004)
New Revision: 2214
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/trunk/source/lib&rev=2214&nolog=1
Log:
Optimisation. Passes masktest against W2K3.
Jeremy.
Modified:
trunk/source/lib/ms_fnmatch.c
Changeset:
Modified: trunk/source/lib/ms_fnmatch.c
===================================================================
--- trunk/source/lib/ms_fnmatch.c 2004-09-03 17:44:27 UTC (rev 2213)
+++ trunk/source/lib/ms_fnmatch.c 2004-09-03 17:45:08 UTC (rev 2214)
@@ -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