diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-04-30 04:45:16 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-04-30 04:45:16 +0000 |
commit | 71e7974f3f847759ba6f844ea7f482786cc5db02 (patch) | |
tree | dab76d4d1260161ae515907a852a1c00bdb52511 /source3/lib/util.c | |
parent | c0e1c6505329972835ccbf6886f8aab8eb33e634 (diff) | |
download | samba-71e7974f3f847759ba6f844ea7f482786cc5db02.tar.gz samba-71e7974f3f847759ba6f844ea7f482786cc5db02.tar.bz2 samba-71e7974f3f847759ba6f844ea7f482786cc5db02.zip |
YIPEE!!!!!
We finally have a perfect emulation of Microsoft wildcard
matching. The routine ms_fnmatch() does wildcard matching with all MS
wildcards (including the unicode wildcards), and masktest against a
NT4 workstation with hundreds of thousands of random exmaples has not
found a single error.
amazingly it is only about 60 lines of code, but it has taken us years
to get it right. I didn't sleep much last night :)
(This used to be commit cc9e007cdfdd300189f89e2a55e4234e47fa842d)
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r-- | source3/lib/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 981dd51f9d..7d9f6a5a50 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -63,7 +63,7 @@ extern int DEBUGLEVEL; int Protocol = PROTOCOL_COREPLUS; /* a default finfo structure to ensure all fields are sensible */ -file_info def_finfo = {-1,0,0,0,0,0,0,""}; +file_info def_finfo = {-1,0,0,0,0,0,0,"",""}; /* this is used by the chaining code */ int chain_size = 0; |