Code

match: use g_utf8_casefold() in match_line()
authorMax Kellermann <max@duempel.org>
Wed, 10 Dec 2008 18:47:36 +0000 (19:47 +0100)
committerMax Kellermann <max@duempel.org>
Wed, 10 Dec 2008 18:47:36 +0000 (19:47 +0100)
commit5a4d4697a6729bd25b9bb0f58f2e5bc930debc9b
treea999f6a20a4b8f094714cda50c05c03607c4ff48
parent7a3feb12511fa02361f3cdd0e62396c084b143ad
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().
src/match.c