diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2014-04-25 14:19:21 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2014-04-25 14:19:21 +0000 |
commit | 89074e1e33ba713bea7b858fa96168a5cca589d6 (patch) | |
tree | 52c0f1275c50b8d19186f51aaaa4df499220b404 /main/mosh/disable-utf8-check.patch | |
parent | 137560ac0ca5d097eb2cd79d9df21ea8853beae7 (diff) | |
download | aports-89074e1e33ba713bea7b858fa96168a5cca589d6.tar.bz2 aports-89074e1e33ba713bea7b858fa96168a5cca589d6.tar.xz |
main/aports: move to main and split server and client
Diffstat (limited to 'main/mosh/disable-utf8-check.patch')
-rw-r--r-- | main/mosh/disable-utf8-check.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/main/mosh/disable-utf8-check.patch b/main/mosh/disable-utf8-check.patch new file mode 100644 index 0000000000..3d8716aa15 --- /dev/null +++ b/main/mosh/disable-utf8-check.patch @@ -0,0 +1,16 @@ +--- a/src/util/locale_utils.cc ++++ b/src/util/locale_utils.cc +@@ -86,10 +86,10 @@ const char *locale_charset( void ) + + bool is_utf8_locale( void ) { + /* Verify locale calls for UTF-8 */ +- if ( strcmp( locale_charset(), "UTF-8" ) != 0 && +- strcmp( locale_charset(), "utf-8" ) != 0 ) { +- return 0; +- } ++ //if ( strcmp( locale_charset(), "UTF-8" ) != 0 && ++ // strcmp( locale_charset(), "utf-8" ) != 0 ) { ++ // return 0; ++ //} + return 1; + } |