Yet another synonym for ASCII: "646"

Used by NetBSD; this unbreaks mprintf() and friends there for the C
locale (caught by dtucker@ and his menagerie of test systems).
This commit is contained in:
Damien Miller committed 2017-03-20 11:51:03 +11:00
1 parent 9165abfea3
commit 7ef1f9bafc
1 file changed
+1 -1
+1 -1
View File
@@ -61,7 +61,7 @@ dangerous_locale(void) {
loc = nl_langinfo(CODESET);
return strcmp(loc, "US-ASCII") != 0 && strcmp(loc, "UTF-8") != 0 &&
strcmp(loc, "ANSI_X3.4-1968") != 0;
strcmp(loc, "ANSI_X3.4-1968") != 0 strcmp(loc, "646") != 0;
}
static int