CVSROOT:        /cvs/src
Module name:    src
Changes by:     [email protected]  2009-05-13 15:00:07

Modified files:
        winsup/cygwin  : ChangeLog cygheap.h dcrt0.cc environ.cc path.cc 
                         strfuncs.cc syscalls.cc 

Log message:
        * 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.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.4484&r2=1.4485
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygheap.h.diff?cvsroot=src&r1=1.135&r2=1.136
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dcrt0.cc.diff?cvsroot=src&r1=1.355&r2=1.356
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/environ.cc.diff?cvsroot=src&r1=1.178&r2=1.179
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?cvsroot=src&r1=1.546&r2=1.547
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/strfuncs.cc.diff?cvsroot=src&r1=1.27&r2=1.28
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syscalls.cc.diff?cvsroot=src&r1=1.517&r2=1.518

Reply via email to