]> sourceware.org Git - newlib-cygwin.git/commit
* cygheap.h (cwdstuff): Convert to class. Make posix and dir private.
authorCorinna Vinschen <corinna@vinschen.de>
Wed, 13 May 2009 15:00:06 +0000 (15:00 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 13 May 2009 15:00:06 +0000 (15:00 +0000)
commitb6c6ea43f30ee958ca1f0af950af01f683f7b5c9
tree16b5a88b3b3ae4bad7bbe8747a6873b7a9ed2c02
parent136033a8528352fb63fd25534de9fc10173a2576
* 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
winsup/cygwin/cygheap.h
winsup/cygwin/dcrt0.cc
winsup/cygwin/environ.cc
winsup/cygwin/path.cc
winsup/cygwin/strfuncs.cc
winsup/cygwin/syscalls.cc
This page took 0.0294 seconds and 5 git commands to generate.