mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-03-10 02:16:35 -04:00
Have default_charset() try mapping "646" -> "ASCII" instead of "ascii".
This commit is contained in:
2
rsync.c
2
rsync.c
@@ -60,7 +60,7 @@ static const char *default_charset(void)
|
||||
#elif defined HAVE_LANGINFO_H && defined HAVE_NL_LANGINFO
|
||||
const char *def = nl_langinfo(CODESET);
|
||||
if (strcmp(def, "646") == 0) /* Solaris brain-damage */
|
||||
return "ascii";
|
||||
return "ASCII";
|
||||
return def;
|
||||
#else
|
||||
return ""; /* Works with (at the very least) gnu iconv... */
|
||||
|
||||
Reference in New Issue
Block a user