about summary refs log tree commit diff
path: root/iconv/tst-iconv1.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-02-20 02:14:31 +0000
committerUlrich Drepper <drepper@redhat.com>2001-02-20 02:14:31 +0000
commit2fad2c60b64c48f62eaa060adb286afd86113a79 (patch)
tree8d864ef260100f7f478a6aaacdf43664a314b3b7 /iconv/tst-iconv1.c
parentf14bd805a73308dd187d9fc768358a07a8efc54a (diff)
downloadglibc-2fad2c60b64c48f62eaa060adb286afd86113a79.tar.gz
glibc-2fad2c60b64c48f62eaa060adb286afd86113a79.tar.xz
glibc-2fad2c60b64c48f62eaa060adb286afd86113a79.zip
Update.
	* iconv/tst-iconv1.c (main): Remove debugging code.
Diffstat (limited to 'iconv/tst-iconv1.c')
-rw-r--r--iconv/tst-iconv1.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/iconv/tst-iconv1.c b/iconv/tst-iconv1.c
index 7d180ddd50..d40fe539ba 100644
--- a/iconv/tst-iconv1.c
+++ b/iconv/tst-iconv1.c
@@ -29,15 +29,11 @@ main (void)
   inbuf = utf8;
   inbytes = 4;
   outbuf = (char *) ucs4;
-#ifdef OK
-  outbytes = 5 * sizeof (wchar_t);    /* Ok. */
-#else
   outbytes = 4 * sizeof (wchar_t);    /* "Argument list too long" error. */
-#endif
   n = iconv (cd, &inbuf, &inbytes, &outbuf, &outbytes);
   if (n == (size_t) -1)
     {
-      perror ("iconv");
+      printf ("iconv: %m\n");
       iconv_close (cd);
       return 1;
     }