diff options
author | Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> | 2012-03-30 10:43:43 +0200 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2012-03-30 10:43:43 +0200 |
commit | e64d2de526d8cfa2908e08892a534316a0bddf5f (patch) | |
tree | e962afa939a9c6adaf5a543b5c88215e7b27d093 /wcsmbs/Makefile | |
parent | 20fde227388fb0c2857ff1793754056b833697fe (diff) | |
download | glibc-e64d2de526d8cfa2908e08892a534316a0bddf5f.tar glibc-e64d2de526d8cfa2908e08892a534316a0bddf5f.tar.gz glibc-e64d2de526d8cfa2908e08892a534316a0bddf5f.tar.bz2 glibc-e64d2de526d8cfa2908e08892a534316a0bddf5f.zip |
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.
Diffstat (limited to 'wcsmbs/Makefile')
-rw-r--r-- | wcsmbs/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wcsmbs/Makefile b/wcsmbs/Makefile index fc67be8f82..c4d31d9ab3 100644 --- a/wcsmbs/Makefile +++ b/wcsmbs/Makefile @@ -44,7 +44,7 @@ routines := wcscat wcschr wcscmp wcscpy wcscspn wcsdup wcslen wcsncat \ strop-tests := wcscmp wmemcmp wcslen wcschr wcsrchr wcscpy tests := tst-wcstof wcsmbs-tst1 tst-wcsnlen tst-btowc tst-mbrtowc \ tst-wcrtomb tst-wcpncpy tst-mbsrtowcs tst-wchar-h tst-mbrtowc2 \ - tst-c16c32-1 \ + tst-c16c32-1 tst-mbsnrtowcs \ wcsatcliff $(addprefix test-,$(strop-tests)) include ../Rules @@ -85,3 +85,4 @@ tst-mbrtowc-ENV = LOCPATH=$(common-objpfx)localedata tst-wcrtomb-ENV = LOCPATH=$(common-objpfx)localedata tst-mbrtowc2-ENV = LOCPATH=$(common-objpfx)localedata tst-c16c32-1-ENV = LOCPATH=$(common-objpfx)localedata +tst-mbsnrtowcs-ENV = LOCPATH=$(common-objpfx)localedata |