summaryrefslogtreecommitdiffstats
path: root/source/lib/ms_fnmatch.c
Commit message (Collapse)AuthorAgeFilesLines
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* a bunch of fixes from the sflight to seattleAndrew Tridgell2001-08-201-11/+19
| | | | | | in particular: - fixed NT status code for a bunch of ops - fixed handling of protocol levels in ms_fnmatch
* The big character set handling changeover!Andrew Tridgell2001-07-041-93/+52
| | | | | | | This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation.
* Had to add a "pam password change" parameter (defaults to "off") and inlinedJeremy Allison2001-05-021-5/+5
| | | | | | | | | | | the pam password change code to ensure that existing and working password chat scripts don't break with 2.2.1. PAM password changing has to be explicitly requested. Allowed wildcards in pam password change matching (matches password chat script matching). Had to add const (sorry Tim :-) to ms_fnmatch() to stop warnings. Don't worry - the const changes are isolated and don't cause any other warnings :-). Jeremy.
* Merged Andrew's wfw fix (2).Jeremy Allison2001-04-171-2/+5
| | | | Jeremy.
* AIX ACLs donated by IBM.Jeremy Allison2001-04-171-0/+105
| | | | | Merge Andrew's fnmatch fix for WfW. Jeremy.
* Added sys_fork() and sys_getpid() functions to stop the overheadJeremy Allison2000-05-021-0/+2
| | | | | of doing a system call every time we want to just get our pid. Jeremy.
* some cleanupsAndrew Tridgell2000-04-301-10/+13
|
* YIPEE!!!!!Andrew Tridgell2000-04-301-0/+146
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 :)