diff options
author | Daniel Mack <github@zonque.org> | 2015-08-31 13:58:29 +0200 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2015-08-31 13:58:29 +0200 |
commit | d728d7faa6c60f185be72510d87bcc565bc0846a (patch) | |
tree | 4d2ed7404804998cbc10abf0419fac34719c57be /src/basic/util.c | |
parent | abab50081c8c12cc46482a43264deb46853bb8fa (diff) | |
parent | dcd719908229479b0b6ec14d6c1362eb82b1bbf3 (diff) |
Merge pull request #1093 from poettering/unified-prepare
A variety of clean-ups
Diffstat (limited to 'src/basic/util.c')
-rw-r--r-- | src/basic/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/util.c b/src/basic/util.c index a9071aa117..737f2a221c 100644 --- a/src/basic/util.c +++ b/src/basic/util.c @@ -4273,7 +4273,7 @@ bool is_locale_utf8(void) { /* Check result, but ignore the result if C was set * explicitly. */ cached_answer = - streq(set, "C") && + STR_IN_SET(set, "C", "POSIX") && !getenv("LC_ALL") && !getenv("LC_CTYPE") && !getenv("LANG"); |