mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
Update.
1998-05-15 Ulrich Drepper <drepper@cygnus.com> * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to point to output buffer.
This commit is contained in:
parent
e3e0a182a7
commit
c9fc0e2228
@ -1,3 +1,8 @@
|
||||
1998-05-15 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
|
||||
point to output buffer.
|
||||
|
||||
1998-05-15 21:07 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
|
||||
|
@ -28,7 +28,7 @@
|
||||
/* This makes obvious what everybody knows: 0x1b is the Esc character. */
|
||||
#define ESC 0x1b
|
||||
|
||||
/* The shift sequences for this charset (we it does not use ESC). */
|
||||
/* The shift sequences for this charset (it does not use ESC). */
|
||||
#define SI 0x0f
|
||||
#define SO 0x0e
|
||||
|
||||
@ -48,13 +48,13 @@
|
||||
if (!FROM_DIRECTION && !data->internal_use && data->invocation_counter == 0)\
|
||||
{ \
|
||||
/* Emit the designator sequence. */ \
|
||||
if (outptr + 4 > outend) \
|
||||
if (outbuf + 4 > outend) \
|
||||
return GCONV_FULL_OUTPUT; \
|
||||
\
|
||||
*outptr++ = '\x1b'; \
|
||||
*outptr++ = '\x24'; \
|
||||
*outptr++ = '\x29'; \
|
||||
*outptr++ = '\x43'; \
|
||||
*outbuf++ = ESC; \
|
||||
*outbuf++ = '$'; \
|
||||
*outbuf++ = ')'; \
|
||||
*outbuf++ = 'C'; \
|
||||
}
|
||||
#define EXTRA_LOOP_ARGS , set
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user