return "US-ASCII" instead of "POSIX" for "C" and "POSIX" locales
as it used to be in previous version of the locales. Returning "POSIX" has too many fallouts.
This commit is contained in:
parent
00cc2faabb
commit
87101cb572
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=290637
@ -71,7 +71,7 @@ nl_langinfo_l(nl_item item, locale_t loc)
|
||||
else if (strcmp(s, "MSKanji") == 0)
|
||||
ret = "SJIS";
|
||||
else if (strcmp(s, "NONE") == 0)
|
||||
ret = "POSIX";
|
||||
ret = "US-ASCII";
|
||||
else if (strncmp(s, "NONE:", 5) == 0)
|
||||
ret = (char *)(s + 5);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user