* ctype.cc: Remove implementation of ctype functions in favor of

pointer-based newlib implementation.
	(_ctype_b): Declare.
	(__ctype_cp): Move to newlib. Declare.
	(__ctype_iso): Ditto.
	(__set_ctype): Implement changing __ctype_ptr__.  Only copy character
	class data in applications built under older Cygwin.
	* cygwin.din (__ctype_ptr__): Export.
	* include/ctype.h: Remove in favor of newlib implementation.
	* include/cygwin/config.h (__EXPORT): Define alongside __IMPORT.
	* include/cygwin/version.h (CYGWIN_VERSION_CHECK_FOR_OLD_CTYPE):
	Define check for old vs. new ctype implementation.
	Bump API minor number.
This commit is contained in:
Corinna Vinschen
2009-03-31 09:42:58 +00:00
parent 4bc42c05aa
commit a33fa76fed
6 changed files with 48 additions and 822 deletions

View File

@@ -6,6 +6,7 @@ __argv DATA
_check_for_executable DATA
__check_rhosts_file DATA
_ctype_ DATA
__ctype_ptr__ DATA
__cygwin_environ DATA
__cygwin_user_data DATA
_daylight DATA