mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-18 06:30:05 +00:00
Update.
1999-03-15 Ulrich Drepper <drepper@cygnus.com> * iconv/iconv.c (iconv): Correctly cast parameters for __gconv. * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of outbuf to unsigned char to avoid warning.
This commit is contained in:
parent
2c8aeff8bb
commit
97e94e491a
@ -1,3 +1,10 @@
|
|||||||
|
1999-03-15 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
|
||||||
|
|
||||||
|
* iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
|
||||||
|
outbuf to unsigned char to avoid warning.
|
||||||
|
|
||||||
1999-03-11 David S. Miller <davem@redhat.com>
|
1999-03-11 David S. Miller <davem@redhat.com>
|
||||||
|
|
||||||
* sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
|
* sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/* Convert characters in input buffer using conversion descriptor to
|
/* Convert characters in input buffer using conversion descriptor to
|
||||||
output buffer.
|
output buffer.
|
||||||
Copyright (C) 1997, 1998 Free Software Foundation, Inc.
|
Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
|
||||||
|
|
||||||
@ -46,8 +46,8 @@ iconv (iconv_t cd, const char **inbuf, size_t *inbytesleft, char **outbuf,
|
|||||||
{
|
{
|
||||||
const char *instart = *inbuf;
|
const char *instart = *inbuf;
|
||||||
|
|
||||||
result = __gconv (gcd, (unsigned char **) inbuf,
|
result = __gconv (gcd, (const unsigned char **) inbuf,
|
||||||
(unsigned char *) (*inbuf + *inbytesleft),
|
(const unsigned char *) (*inbuf + *inbytesleft),
|
||||||
(unsigned char **) outbuf,
|
(unsigned char **) outbuf,
|
||||||
(unsigned char *) (*outbuf + *outbytesleft),
|
(unsigned char *) (*outbuf + *outbytesleft),
|
||||||
&converted);
|
&converted);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Conversion module for ISO-2022-KR.
|
/* Conversion module for ISO-2022-KR.
|
||||||
Copyright (C) 1998 Free Software Foundation, Inc.
|
Copyright (C) 1998, 1999 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
|
||||||
|
|
||||||
@ -80,7 +80,7 @@ enum
|
|||||||
data->statep->count = ASCII_set; \
|
data->statep->count = ASCII_set; \
|
||||||
else \
|
else \
|
||||||
{ \
|
{ \
|
||||||
char *outbuf = data->outbuf; \
|
unsigned char *outbuf = data->outbuf; \
|
||||||
\
|
\
|
||||||
/* We are not in the initial state. To switch back we have \
|
/* We are not in the initial state. To switch back we have \
|
||||||
to emit `SI'. */ \
|
to emit `SI'. */ \
|
||||||
|
Loading…
Reference in New Issue
Block a user