aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/ASCII.hxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* util: Fix header for strcasecmpFrançois Revol2014-08-161-1/+1
| | | | | | | | | | | | | | | | | According to POSIX and both OSX and Linux manpages, strcasecmp comes from strings.h, not string.h. Most OSes also have them available in string.h, but we just fixed the headers on Haiku and it now only provides them in strings.h. We might want to fall back to string.h for other OSes though... cf. http://pubs.opengroup.org/onlinepubs/009695399/functions/strcasecmp.html http://linux.die.net/man/3/strcasecmp https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man3/strcasecmp.3.html
* Util/ASCII: add StringEqualsCaseASCII() overload with lengthMax Kellermann2013-10-211-0/+12
| | | | Replaces GLib's g_ascii_strncasecmp().
* Util/ASCII: add function StringEqualsCaseASCII()Max Kellermann2013-10-201-0/+54
Replaces GLib's g_ascii_strcasecmp().