newlib-cygwin/winsup
Corinna Vinschen 6f401eccfb * cygheap.cc (cygheap_init): Set Cygwin default locale values.
* cygheap.h (struct cygheap_locale): New structure.
	(struct user_heap_info): Add cygheap_locale member locale.
	* dcrt0.cc (dll_crt0_1): Revert to calling _setlocale_r so that only
	the applications locale is reverted to "C".
	* environ.cc (environ_init): Remove unused got_lc variable.
	* fhandler.h (class dev_console): Remove now unsed locale variables.
	* fhandler_console.cc (fhandler_console::get_tty_stuff): Remove
	setting dev_console's locale members.
	(dev_console::con_to_str): Use internal locale settings.  Default to
	__ascii_wctomb if charset is "ASCII".
	(fhandler_console::write_normal): Ditto.
	* strfuncs.cc (__ascii_wctomb): Drop declaration.
	(__db_wctomb): Use fixed value 2 instead of not
	necessarily matching MB_CUR_MAX.
	(__eucjp_wctomb): Use 3 instead of MB_CUR_MAX.
	(sys_cp_wcstombs): Remove special case for "C" locale.
	(sys_wcstombs): Implement here.  Use internal locale data stored on
	cygheap.
	(sys_cp_mbstowcs): Remove special case for "C" locale.
	(sys_mbstowcs): Implement here.  Use internal locale data stored on
	cygheap.
	* syscalls.cc (internal_setlocale): New function to set cygheap locale
	data and to reset CWD posix path.
	(setlocale): Just call internal_setlocale from here if necessary.
	* wchar.h (__ascii_wctomb): Declare.
	(sys_wcstombs): Don't define inline, just declare.
	(sys_mbstowcs): Ditto.
2009-05-14 19:49:37 +00:00
..
cygserver * README: Remove "How to use" section, as CYGWIN="server" is 2009-03-27 10:17:48 +00:00
cygwin * cygheap.cc (cygheap_init): Set Cygwin default locale values. 2009-05-14 19:49:37 +00:00
doc * faq-setup.xml (faq.setup.upgrade-mountpoints): New entry. 2009-05-14 11:03:43 +00:00
lsaauth Add DESTDIR functionality to Makefile.in's. 2009-02-24 02:11:14 +00:00
mingw 2009-04-11 Danny Smith <dannsymith@users.sourceforge.net> 2009-04-11 12:41:09 +00:00
testsuite * Revert erroneous checkin. 2008-11-26 16:42:27 +00:00
utils cygwin ChangeLog 2009-05-14 03:25:45 +00:00
w32api 2009-05-01 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> 2009-05-02 01:46:36 +00:00
COPYING * CYGWIN_LICENSE: Restrict to v2. 2006-01-29 18:06:24 +00:00
CYGWIN_LICENSE * CYGWIN_LICENSE: New text. 2008-05-16 08:40:39 +00:00
ChangeLog * Move ChangeLog entry. 2009-05-06 12:08:07 +00:00
Makefile.common * Makefile.common (CFLAGS_COMMON): Add -Wstrict-aliasing. 2005-10-11 18:17:59 +00:00
Makefile.in Add DESTDIR functionality to Makefile.in's. 2009-02-24 02:11:14 +00:00
README Add top-level README 2006-01-27 05:37:13 +00:00
acinclude.m4 update to newer autoconf 2006-05-24 16:59:03 +00:00
aclocal.m4 * Makefile.in: Make installation of CYGWIN_LICENSE configurable. 2006-08-30 13:05:46 +00:00
configure ChangeLog: 2009-01-21 17:14:39 +00:00
configure.in ChangeLog: 2009-01-21 17:14:39 +00:00

README

THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Cygwin documentation is available on the net at http://cygwin.com
You might especially be interested in

http://cygwin.com/faq/faq.programming.html#faq.programming.building-cygwin