From b6c6ea43f30ee958ca1f0af950af01f683f7b5c9 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 13 May 2009 15:00:06 +0000 Subject: * cygheap.h (cwdstuff): Convert to class. Make posix and dir private. (cwdstuff::get_posix): New method. (cwdstuff::reset_posix): New method. * dcrt0.cc (dll_crt0_1): Call setlocale rather than _setlocale_r. * environ.cc (environ_init): Ditto. Prefer "C" locale over current codepage default locale. * path.cc (chdir): Use cwdstuff::get_posix method instead of accessing cwdstuff::posix directly. (cwdstuff::set): Defer creating posix path to first usage. (cwdstuff::get_posix): Create posix path if it's empty, and return it. (cwdstuff::get): Create posix path if it's empty. * strfuncs.cc (sys_cp_wcstombs): Use UTF-8 conversion in the "C" locale. (sys_cp_mbstowcs): Ditto. * syscalls.cc (gen_full_path_at): Fetch CWD posix path locked. (setlocale): Implement here. Reset CWD posix path. --- winsup/cygwin/ChangeLog | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'winsup/cygwin/ChangeLog') diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 0390de431..869196956 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,22 @@ +2009-05-13 Corinna Vinschen + + * cygheap.h (cwdstuff): Convert to class. Make posix and dir private. + (cwdstuff::get_posix): New method. + (cwdstuff::reset_posix): New method. + * dcrt0.cc (dll_crt0_1): Call setlocale rather than _setlocale_r. + * environ.cc (environ_init): Ditto. Prefer "C" locale over current + codepage default locale. + * path.cc (chdir): Use cwdstuff::get_posix method instead of accessing + cwdstuff::posix directly. + (cwdstuff::set): Defer creating posix path to first usage. + (cwdstuff::get_posix): Create posix path if it's empty, and return it. + (cwdstuff::get): Create posix path if it's empty. + * strfuncs.cc (sys_cp_wcstombs): Use UTF-8 conversion in the "C" + locale. + (sys_cp_mbstowcs): Ditto. + * syscalls.cc (gen_full_path_at): Fetch CWD posix path locked. + (setlocale): Implement here. Reset CWD posix path. + 2009-05-09 Christopher Faylor * cygwin/version.h (CYGWIN_VERSION_CYGWIN_CONV): New define. -- cgit v1.2.3