Convey locale-related environment variables as backup, and nicer error.

Fixes #74.
This commit is contained in:
Keith Winstein
2012-04-14 16:39:07 -04:00
parent 597756b846
commit 8f60f7ab05
10 changed files with 114 additions and 15 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ int main( int argc __attribute__((unused)),
struct termios saved_termios, raw_termios, child_termios;
set_native_locale();
assert_utf8_locale();
assert( is_utf8_locale() );
if ( tcgetattr( STDIN_FILENO, &saved_termios ) < 0 ) {
perror( "tcgetattr" );