summaryrefslogtreecommitdiff
path: root/win32/fnmatch.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* win32: save bytes in fnmatchRon Yorston2020-02-161-13/+55
| | | | | | | Replace several explicit string comparisons with a single call to index_in_strings(). Saves 304 bytes.
* win32: use strchrnul from BusyBox in fnmatchRon Yorston2018-03-051-1/+5
| | | | | | BusyBox ensures that strchrnul is always available, either from the target platform or by including its own version. Therefore it isn't necessary for fnmatch to use its equivalent.
* win32/fnmatch: fix old-style function declarationJohannes Schindelin2017-08-231-1/+1
| | | | | | | | | | | | It would be more straight-forward to simply #include "libbb.h" which includes a #define getenv mingw_getenv, but that header also defines isprint() to a function that is nowhere to be found, leading to link problems. So let's go the easy route. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Ron Yorston <rmy@pobox.com>
* win32/fnmatch: avoid old-style function definitionsJohannes Schindelin2017-08-231-12/+4
| | | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Ron Yorston <rmy@pobox.com>
* win32: Import fnmatch sourceNguyễn Thái Ngọc Duy2010-09-101-0/+488
This was extracted from commit e56b799d6ad8afba4168fffa7218d44c041a72d2 in Git repository.