about summary refs log tree commit diff
path: root/iconv/iconv_prog.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-04-15 00:02:59 +0000
committerUlrich Drepper <drepper@redhat.com>1998-04-15 00:02:59 +0000
commit480bc72713c841bbf55f4a33fe9f11d2c304ef1a (patch)
tree1fabef3db88905d63e17eb9c736a28aab67a162c /iconv/iconv_prog.c
parent7919ea1578f7b9e51935fb3430ae36d180c97590 (diff)
downloadglibc-480bc72713c841bbf55f4a33fe9f11d2c304ef1a.tar.gz
glibc-480bc72713c841bbf55f4a33fe9f11d2c304ef1a.tar.xz
glibc-480bc72713c841bbf55f4a33fe9f11d2c304ef1a.zip
Update.
1998-04-14 23:54  Ulrich Drepper  <drepper@cygnus.com>

	* iconvdata/Makefile: Add rules to run tests.
	* iconvdata/TESTS: New file.
	* iconvdata/run-iconv-test.sh: New file.

	* iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
	not stdout.
Diffstat (limited to 'iconv/iconv_prog.c')
-rw-r--r--iconv/iconv_prog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iconv/iconv_prog.c b/iconv/iconv_prog.c
index f26b7159e4..0c1b9d045d 100644
--- a/iconv/iconv_prog.c
+++ b/iconv/iconv_prog.c
@@ -188,7 +188,7 @@ main (int argc, char *argv[])
 	      error (EXIT_FAILURE, errno, _("error while closing input `%s'"),
 		     argv[remaining]);
 
-	    if (process_block (cd, addr, st.st_size, stdout) < 0)
+	    if (process_block (cd, addr, st.st_size, output) < 0)
 	      {
 		/* Something went wrong.  */
 		status = EXIT_FAILURE;