OSDN Git Service

* autoload.cc: Autoload CharToOemA.
authorcgf <cgf>
Sun, 10 Dec 2000 00:45:11 +0000 (00:45 +0000)
committercgf <cgf>
Sun, 10 Dec 2000 00:45:11 +0000 (00:45 +0000)
commite5bd8056594ebc6b86bd8c6113044929166e93df
tree240c60a3facbf079d75b39ff0920ec5971094ea2
parent9726fb9832b70968e2ade6b9da9cd46b20439bdb
* autoload.cc: Autoload CharToOemA.
* dcrt0.cc (dll_crt0_1): Translate command line to OEM if current codepage is
OEM.
* environ.cc: Add new option 'codepage' to CYGWIN environment variable.
* fhandler_clipboard.cc (fhandler_clipboard::read): Read clipboard in OEM mode
if current codepage is OEM.
* fhandler_console.cc (fhandler_console::read): Only translate console input if
current codepage is ANSI.
* fhandler_console.cc (fhandler_console::write_normal): Translate output data
if current codepage is ANSI.
* pinfo.cc (codepage_init): New function.  Setup current codepage from CYGWIN
environment variable and set codepage for file APIs.
* security.cc (read_sd): Translate file name to it if current codepage is OEM.
* winsup.h: (sys_wcstombs,sys_mbstowcs): Use current codepage for translations
between multibyte and widechar string and vice versa.
winsup/cygwin/ChangeLog
winsup/cygwin/autoload.cc
winsup/cygwin/dcrt0.cc
winsup/cygwin/environ.cc
winsup/cygwin/fhandler_clipboard.cc
winsup/cygwin/fhandler_console.cc
winsup/cygwin/pinfo.cc
winsup/cygwin/security.cc
winsup/cygwin/winsup.h