mirror of
https://sourceware.org/git/glibc.git
synced 2025-05-28 16:21:30 +03:00
Update.
* iconv/tst-iconv1.c (main): Remove debugging code.
This commit is contained in:
parent
f14bd805a7
commit
2fad2c60b6
@ -1,5 +1,7 @@
|
|||||||
2001-02-19 Ulrich Drepper <drepper@redhat.com>
|
2001-02-19 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* iconv/tst-iconv1.c (main): Remove debugging code.
|
||||||
|
|
||||||
* sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
|
* sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
|
||||||
* sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
|
* sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
|
||||||
|
|
||||||
|
@ -29,15 +29,11 @@ main (void)
|
|||||||
inbuf = utf8;
|
inbuf = utf8;
|
||||||
inbytes = 4;
|
inbytes = 4;
|
||||||
outbuf = (char *) ucs4;
|
outbuf = (char *) ucs4;
|
||||||
#ifdef OK
|
|
||||||
outbytes = 5 * sizeof (wchar_t); /* Ok. */
|
|
||||||
#else
|
|
||||||
outbytes = 4 * sizeof (wchar_t); /* "Argument list too long" error. */
|
outbytes = 4 * sizeof (wchar_t); /* "Argument list too long" error. */
|
||||||
#endif
|
|
||||||
n = iconv (cd, &inbuf, &inbytes, &outbuf, &outbytes);
|
n = iconv (cd, &inbuf, &inbytes, &outbuf, &outbytes);
|
||||||
if (n == (size_t) -1)
|
if (n == (size_t) -1)
|
||||||
{
|
{
|
||||||
perror ("iconv");
|
printf ("iconv: %m\n");
|
||||||
iconv_close (cd);
|
iconv_close (cd);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user