Merge pull request #9864 from ximion/master

localed: Run locale-gen if available to generate missing locale
This commit is contained in:
Yu Watanabe
2021-01-14 00:20:04 +09:00
committed by GitHub
7 changed files with 290 additions and 4 deletions
+4
View File
@@ -33,6 +33,10 @@ static inline bool streq_ptr(const char *a, const char *b) {
return strcmp_ptr(a, b) == 0;
}
static inline bool strcaseeq_ptr(const char *a, const char *b) {
return strcasecmp_ptr(a, b) == 0;
}
static inline char* strstr_ptr(const char *haystack, const char *needle) {
if (!haystack || !needle)
return NULL;