src/winsup/cygwin wincap.cc wincap.h wchar.h s ...

corinna@cygwin.com corinna@cygwin.com
Mon Jul 20 15:44:00 GMT 2009


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sourceware.org	2009-07-20 15:44:55

Modified files:
	winsup/cygwin  : wincap.cc wincap.h wchar.h syscalls.cc 
	                 ChangeLog 

Log message:
	* wincap.h (wincaps::has_always_all_codepages): New element.
	* wincap.cc: Implement above element throughout.
	* wchar.h (__sjis_mbtowc): Declare.
	(__eucjp_mbtowc): Ditto.
	(__gbk_mbtowc): Ditto.
	(__kr_mbtowc): Ditto.
	(__big5_mbtowc): Ditto.
	* syscalls.cc (internal_setlocale): Convert to char * function.
	Return parameter by default.  Return NULL if request to use a
	charset can't be satisfied due to missing codepage support in the
	underlying OS.  Fix comment.
	(setlocale): Store original locale.  Restore to original locale if
	internal_setlocale returns NULL.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/wincap.cc.diff?cvsroot=src&r1=1.93&r2=1.94
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/wincap.h.diff?cvsroot=src&r1=1.77&r2=1.78
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/wchar.h.diff?cvsroot=src&r1=1.8&r2=1.9
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syscalls.cc.diff?cvsroot=src&r1=1.523&r2=1.524
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.4580&r2=1.4581



More information about the Cygwin-cvs mailing list