Fix a bug when converting strings with 1 character using TCVN5712-1
commite64d2de526d8cfa2908e08892a534316a0bddf5f
authorTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Fri, 30 Mar 2012 08:43:43 +0000 (30 10:43 +0200)
committerAndreas Jaeger <aj@suse.de>
Fri, 30 Mar 2012 08:43:43 +0000 (30 10:43 +0200)
treee962afa939a9c6adaf5a543b5c88215e7b27d093
parent20fde227388fb0c2857ff1793754056b833697fe
Fix a bug when converting strings with 1 character using TCVN5712-1

It isn't necessary to buffer the last character of strings. This can cause a
bug with strings that have 1 character between 0x0041 and 0x01b0.

[BZ #13691]
* iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
with only 1 character between 0x0041 and 0x01b0.
* wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
* wcsmbs/tst-mbsnrtowcs.c: New file.
ChangeLog
NEWS
iconvdata/tcvn5712-1.c
wcsmbs/Makefile
wcsmbs/tst-mbsnrtowcs.c [new file with mode: 0644]