diff options
author | Andreas Schwab <schwab@suse.de> | 2014-07-24 17:32:56 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2015-12-15 13:40:20 +0100 |
commit | 42d6443faf5e8b5c70474923bfcc021b77ee0095 (patch) | |
tree | 130af99af6dc36309a7e59783c4ed2e1ad354bfc /iconvdata/ibm937.c | |
parent | 04ae79a363e2a85096c4dbdf6d5469d3a19a6907 (diff) | |
download | glibc-42d6443faf5e8b5c70474923bfcc021b77ee0095.zip glibc-42d6443faf5e8b5c70474923bfcc021b77ee0095.tar.gz glibc-42d6443faf5e8b5c70474923bfcc021b77ee0095.tar.bz2 |
Don't emit invalid extra shift character at block boundary by iconv (bug 17197)
Diffstat (limited to 'iconvdata/ibm937.c')
-rw-r--r-- | iconvdata/ibm937.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iconvdata/ibm937.c b/iconvdata/ibm937.c index 6fe5b11..8cba11a 100644 --- a/iconvdata/ibm937.c +++ b/iconvdata/ibm937.c @@ -260,6 +260,7 @@ enum break; \ } \ *outptr++ = SI; \ + curcs = sb; \ } \ \ if (__glibc_unlikely (outptr + 1 > outend)) \ @@ -268,7 +269,6 @@ enum break; \ } \ *outptr++ = cp[0]; \ - curcs = sb; \ } \ \ /* Now that we wrote the output increment the input pointer. */ \ |