Commit Graph

4 Commits

Author SHA1 Message Date
yamt d14a2355eb sync with latest Citrus XPG4DL.
- mbsrtowcs/wcsrtombs
	- when conversion stopped with terminating-null, set *src null-pointer.
	- if dst isn't null, ignore len.
	- fix how to treat ___mbrtowc
- mbrtowc
	- fix problem that terminating null charactor wasn't stored.
	- fix problem with stateful encoding.
		(when src points to escape sequence + '\0', mbstate wasn't initialized)
	- fix return value when restarted.
		XXX euctw and big5 are not tested.
- iso2022-jp
	- fix mbrtowc with imcomplete sequence.
- etc
	- make sure mbstate is initialized. (___rune_initstate is called)
		primarily to fix mbsinit for iso2022.
	- sync citrus Id
2001-06-21 02:20:24 +00:00
itojun 4ab94d919b sync citrus Id part with citrus repository. 2000-12-28 05:27:35 +00:00
itojun 2ea22179ea switch locale module API, from s{get,put}rune to wcrtomb/mbrtowc.
handle intermediate mbstate_t more correctly.
no externally-visible changes here.
2000-12-28 05:22:27 +00:00
itojun 6bfa292b5d add multibyte locale converters (just for use by testers at this moment,
to be built as dynamically loadable binary)
2000-12-21 12:17:35 +00:00