mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-14 23:30:06 +00:00
(EMIT_SHIFT_TO_INIT): Update number of written bytes.
This commit is contained in:
parent
a9e711dde7
commit
338a78259b
@ -212,6 +212,8 @@ gconv_end (struct gconv_step *data)
|
||||
*outbuf++ = ESC; \
|
||||
*outbuf++ = '('; \
|
||||
*outbuf++ = 'B'; \
|
||||
if (data->__is_last) \
|
||||
*written += 3; \
|
||||
data->outbuf = outbuf; \
|
||||
/* Note that this also clears the G2 designation. */ \
|
||||
data->statep->count = ASCII_set; \
|
||||
|
@ -91,6 +91,8 @@ enum
|
||||
{ \
|
||||
/* Write out the shift sequence. */ \
|
||||
*outbuf++ = SI; \
|
||||
if (data->__is_last) \
|
||||
*written += 1; \
|
||||
data->outbuf = outbuf; \
|
||||
data->statep->count = ASCII_set; \
|
||||
} \
|
||||
|
Loading…
Reference in New Issue
Block a user