Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@netbsd.org>
List: source-changes
Date: 12/23/2000 14:37:19
Module Name:	basesrc
Committed By:	itojun
Date:		Sat Dec 23 12:37:19 UTC 2000

Modified Files:
	basesrc/lib/libc/locale: iso2022.c

Log Message:
overhaul.
(1) alloate two mbstate_t, for input/output, per a file stream.
(2) correct inbound escape sequence processing.
cope with incomplete string better.  keep intermediate state for single shifts.
let C0/C1 go through.

XXX for (1), we should expand FILE structure, but is possible only with
libc major # bump.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 basesrc/lib/libc/locale/iso2022.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.