author | Max Kellermann <max@duempel.org> | |
Wed, 10 Dec 2008 18:47:36 +0000 (19:47 +0100) | ||
committer | Max Kellermann <max@duempel.org> | |
Wed, 10 Dec 2008 18:47:36 +0000 (19:47 +0100) | ||
commit | 5a4d4697a6729bd25b9bb0f58f2e5bc930debc9b | |
tree | a999f6a20a4b8f094714cda50c05c03607c4ff48 | tree | snapshot |
parent | 7a3feb12511fa02361f3cdd0e62396c084b143ad | commit | diff |
match: use g_utf8_casefold() in match_line()
strcasestr() is a non-standard function, and requires setting
_GNU_SOURCE. To avoid this, do wasteful g_utf8_casefold() conversions
and use strstr().
strcasestr() is a non-standard function, and requires setting
_GNU_SOURCE. To avoid this, do wasteful g_utf8_casefold() conversions
and use strstr().
src/match.c | diff | blob | history |