diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-04-12 20:26:40 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-04-12 20:26:40 +0000 |
commit | b721a2c03c079f8939fae82823b6f75ef5b6639b (patch) | |
tree | cf46fabfc0a8aabeeb23a13c2eeb4b862fda99d0 /iconvdata/unicode.c | |
parent | 9dd7309ceee055ed98039f29982dc773bfc63bef (diff) | |
download | glibc-b721a2c03c079f8939fae82823b6f75ef5b6639b.tar glibc-b721a2c03c079f8939fae82823b6f75ef5b6639b.tar.gz glibc-b721a2c03c079f8939fae82823b6f75ef5b6639b.tar.bz2 glibc-b721a2c03c079f8939fae82823b6f75ef5b6639b.zip |
Update.
2001-04-12 Bruno Haible <haible@clisp.cons.org>
* iconvdata/TESTS2: New file.
* iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
* iconvdata/testdata/alfabeta..UTF-8: New file.
* iconvdata/testdata/alfabeta..UTF-16.BE: New file.
* iconvdata/testdata/alfabeta..UTF-16.LE: New file.
* iconvdata/testdata/alfabeta..UTF-32.BE: New file.
* iconvdata/testdata/alfabeta..UTF-32.LE: New file.
2001-04-11 Bruno Haible <haible@clisp.cons.org>
* iconvdata/utf-32.c: New file.
* iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
* iconvdata/Makefile (modules): Add UTF-32.
(distribute): Add utf-32.c.
2001-04-11 Bruno Haible <haible@clisp.cons.org>
* iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
changing it in the state. After incrementing 'inptr', store it back.
* iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
store it back.
2001-04-11 Bruno Haible <haible@clisp.cons.org>
* iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
MIN_NEEDED_FROM.
Diffstat (limited to 'iconvdata/unicode.c')
-rw-r--r-- | iconvdata/unicode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/iconvdata/unicode.c b/iconvdata/unicode.c index be72f4fcaf..89ec81f90b 100644 --- a/iconvdata/unicode.c +++ b/iconvdata/unicode.c @@ -53,11 +53,11 @@ \ if (get16u (inptr) == BOM) \ /* Simply ignore the BOM character. */ \ - inptr += 2; \ + *inptrp = inptr += 2; \ else if (get16u (inptr) == BOM_OE) \ { \ ((struct unicode_data *) step->__data)->swap = 1; \ - inptr += 2; \ + *inptrp = inptr += 2; \ } \ } \ } \ |