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 | cc9e007cdfdd300189f89e2a55e4234e47fa842d (patch) | |
tree | 014137419352134ded462576b92a8856480830c8 /source/lib/util.c | |
parent | 77009422a075300e5c07a3e75806a7dac47e2113 (diff) | |
download | samba-cc9e007cdfdd300189f89e2a55e4234e47fa842d.tar.gz samba-cc9e007cdfdd300189f89e2a55e4234e47fa842d.tar.xz samba-cc9e007cdfdd300189f89e2a55e4234e47fa842d.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 :)
Diffstat (limited to 'source/lib/util.c')
-rw-r--r-- | source/lib/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/util.c b/source/lib/util.c index 981dd51f9da..7d9f6a5a50f 100644 --- a/source/lib/util.c +++ b/source/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; |