locate: use g_utf8_casefold() instead of string_toupper()

string_toupper() and strDupToUpper() were not able to deal with
character sets other than US-ASCII.  Use GLib's g_utf8_casefold()
for strings.
This commit is contained in:
Max Kellermann
2008-10-15 19:36:37 +02:00
parent 7366191f0d
commit 047043d2a8
5 changed files with 16 additions and 30 deletions

View File

@@ -31,10 +31,6 @@
char *myFgets(char *buffer, int bufferSize, FILE * fp);
char *string_toupper(char *str);
char *strDupToUpper(char *str); /* avoid, use string_toupper instead */
void stripReturnChar(char *string);
void my_usleep(long usec);