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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user