mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 21:10:07 +00:00
Update.
1998-04-01 Ulrich Drepper <drepper@cygnus.com> * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute number of converted bytes correctly.
This commit is contained in:
parent
4c66860c91
commit
f9f219d99a
@ -1,3 +1,8 @@
|
||||
1998-04-01 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
|
||||
number of converted bytes correctly.
|
||||
|
||||
1998-04-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
|
||||
|
||||
* sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Simple transformations functions.
|
||||
Copyright (C) 1997 Free Software Foundation, Inc.
|
||||
Copyright (C) 1997, 1998 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
|
||||
|
||||
@ -130,7 +130,7 @@ __gconv_transform_ucs4_utf8 (struct gconv_step *step,
|
||||
|
||||
/* Remember how much we converted. */
|
||||
do_write += newinbuf - inbuf;
|
||||
*inlen -= (newinbuf - inbuf) * sizeof (wchar_t);
|
||||
*inlen -= newinbuf - inbuf;
|
||||
|
||||
data->outbufavail += actually;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user