mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-28 21:12:02 +00:00
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:
parent
9165abfea3
commit
7ef1f9bafc
2
utf8.c
2
utf8.c
@ -61,7 +61,7 @@ dangerous_locale(void) {
|
|||||||
|
|
||||||
loc = nl_langinfo(CODESET);
|
loc = nl_langinfo(CODESET);
|
||||||
return strcmp(loc, "US-ASCII") != 0 && strcmp(loc, "UTF-8") != 0 &&
|
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
|
static int
|
||||||
|
Loading…
Reference in New Issue
Block a user