mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 00:04:30 +02: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…
x
Reference in New Issue
Block a user