Fix handling of incomplete character storage in state
commit88a97c6e4cedbd71e05008dab220922894ef66da
authorUlrich Drepper <drepper@gmail.com>
Sat, 14 May 2011 04:53:21 +0000 (14 00:53 -0400)
committerPetr Baudis <pasky@ucw.cz>
Thu, 26 May 2011 23:29:07 +0000 (27 01:29 +0200)
tree744953d253d4742e4e023c6cf0bf2b9287417059
parent82c938203add9de265744987c8f1efa454d80461
Fix handling of incomplete character storage in state

If iconv is called more than once in a row for adding bytes to the sequence
while still remain under the minimum size of a character and if STORE_REST
is defined, we didn't consume any input.  Fix that.

(cherry picked from commit 1af4e29837e9969377781b47254b6e4c293353ed)
ChangeLog
iconv/loop.c