* dcrt0.cc: Remove local variable alternate_charset_active.

* fhandler.h: Add variable alternate_charset_active, functions
	str_to_con, con_to_str to dev_console structure.
	* fhandler_console.cc (con_to_str): Move function into dev_console
	class.
	(str_to_con): Ditto.
	(fhandler_console::read): Call con_to_str on dev_state.
	(fhandler_console::write_normal): Call str_to_con on dev_state.
	(fhandler_console::char_command): Change active_charset_active
	assignment to be on dev_state.
	* winsup.h: Remove global external variable alternate_charset_active.
This commit is contained in:
Corinna Vinschen
2003-10-16 14:08:28 +00:00
parent b4d51d01c8
commit abfc9c412c
5 changed files with 44 additions and 27 deletions

View File

@@ -57,7 +57,6 @@ bool display_title;
bool strip_title_path;
bool allow_glob = TRUE;
codepage_type current_codepage = ansi_cp;
bool alternate_charset_active;
int cygwin_finished_initializing;