summaryrefslogtreecommitdiff
path: root/src/fnmatch.h
Commit message (Collapse)AuthorAgeFilesLines
* Restore attributions for fnmatchMartin Woodward2014-05-191-3/+24
|
* update copyrightsEdward Thomson2013-01-081-1/+1
|
* Import DOS fix for fnmatchRussell Belfer2012-10-151-3/+4
| | | | | | Because fnmatch uses recursion, there were some input sequences that cause seriously degenerate behavior. This imports a fix that imposes a max recursion limiter to avoid the worst of it.
* Always use internal fnmatch, not systemRussell Belfer2012-10-151-0/+27
|
* fnmatch: Use native on Unix, emulate on Win32Vicent Marti2011-07-061-84/+0
|
* Add git.git's fnmatch, which is really GNU's and the git__fnmatch wrapperCarlos Martín Nieto2011-06-261-0/+84
If the strings match, git__fnmatch returns GIT_SUCCESS and GIT_ENOMATCH on failure to match. MSVC fixes: Added a test for _MSC_VER and (in that case) defined HAVE_STRING_H to 1 so it doesn't try to include <strings.h> which doesn't exist in the MSVC world. Moved the function declarations to use the modern inline ones so MSVC doesn't have a fit. Added casts everywhere so MSVC doesn't crap its pants. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>