[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[webdav-jp:0840] new patch and files for iconvdata/{cp932.c,euc-jp-ms.c}



Hi Ulrich,

Moriyama-san made test patterns for his conversion codes in glibc iconv()
and he found some bugs. An new patch and new files to CVS are below:

http://www2d.biglobe.ne.jp/~msyk/software/glibc-cvs-20030724/
	diff2.gz ... an incremental patch for bug fix and test tools.
	add.tar.gz ... some files for testing as glibc method.

How to apply:
  (1) download them.
  (2) # cd libc
  (3) # zcat diff2.gz | patch -p0
  (4) # tar zxvf add.tar.gz

Alias definition:
   CP932     : WINDOWS-31J, MS932, SJIS-OPEN, SJIS-WIN
   EUC-JP-MS : EUCJP-MS, EUCJP-OPEN, EUCJP-WIN

Patch overview:
* fixed some not-defined code points and error handling bug of illegal
  sequences found by the new test tools.
* changed EUCJP-MS to EUC-JP-MS.

Changelog:
iconvdata/cp932.c
 * fixed checking of a few border of code areas.
 * changed conversion of JIS X 0201 from using a table to calculating.
iconvdata/euc-jp-ms.c  (previous: eucjp-ms.c)
 * fixed conversion table and rewroted conversion routine.
 * changed CHARSET_NAME definition from EUCJP-MS to EUC-JP-MS.
iconvdata/tst-tables.sh
 * changed to check CP932 and EUC-JP-MS conversion.
iconvdata/{CP932,EUC-JP-MS}.irreversible
localedata/charmaps/{WINDOWS-31J,EUC-JP-MS}
 * added for testing CP932 and EUC-JP-MS.

Please apply them.

Best regards,
	A.Yoshiyama <yosshy@xxxxxxxxxxxx>