Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: YAMAMOTO Takashi <yamt@netbsd.org>
List: source-changes
Date: 06/21/2001 05:20:25
Module Name: basesrc
Committed By: yamt
Date: Thu Jun 21 02:20:24 UTC 2001
Modified Files:
basesrc/lib/libc/locale: big5.c euc.c euctw.c iso2022.c iso2022.h
mskanji.c multibyte.c runeglue.c utf8.c
Log Message:
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
To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 basesrc/lib/libc/locale/big5.c \
basesrc/lib/libc/locale/mskanji.c basesrc/lib/libc/locale/runeglue.c
cvs rdiff -r1.8 -r1.9 basesrc/lib/libc/locale/euc.c \
basesrc/lib/libc/locale/utf8.c
cvs rdiff -r1.9 -r1.10 basesrc/lib/libc/locale/euctw.c \
basesrc/lib/libc/locale/multibyte.c
cvs rdiff -r1.11 -r1.12 basesrc/lib/libc/locale/iso2022.c
cvs rdiff -r1.4 -r1.5 basesrc/lib/libc/locale/iso2022.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.