From fe559c5e1ce629f94f1621c76f5cfd59d6028830 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 19 Oct 1999 13:53:34 +0000 Subject: Update. 1999-10-19 Andreas Jaeger * include/bits/ipc.h: Remove K&R compatibility. * include/libintl.h: Likewise. * include/math.h: Likewise. * include/mntent.h: Likewise * include/netdb.h: Likewise. * include/pwd.h: Likewise. * include/sched.h: Likewise. * include/shadow.h: Likewise * include/stdlib.h: Likewise. * include/sys/file.h: Likewise. * include/sys/gmon.h: Likewise. * include/sys/ioctl.h: Likewise. * include/sys/mman.h: Likewise. * include/sys/resource.h: Likewise. * include/sys/socket.h: Likewise. * include/sys/stat.h: Likewise. * include/sys/sysinfo.h: Likewise. * include/sys/time.h: Likewise. * include/sys/times.h: Likewise. * include/sys/uio.h: Likewise. * include/sys/wait.h: Likewise. * include/termios.h: Likewise. * include/time.h: Likewise. * include/ulimit.h: Likewise. * include/utmp.h: Likewise. * include/wchar.h: Likewise. * include/wctype.h: Likewise. 1999-10-19 Andreas Jaeger * math/libm-test.inc: Remove one K&R compatibility. (main): Enable nexttoward_test. * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to libm-test-ulps.h; pretty print output a bit. 1999-10-19 Andreas Jaeger * iconv/iconv_prog.c (main): Set exit value in case that reading from stdin failed [PR libc/1404]. --- iconv/iconv_prog.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'iconv') diff --git a/iconv/iconv_prog.c b/iconv/iconv_prog.c index cd00bbf..3eda49a 100644 --- a/iconv/iconv_prog.c +++ b/iconv/iconv_prog.c @@ -162,7 +162,10 @@ main (int argc, char *argv[]) specified with the `-o' parameter. If we have no file given as the parameter process all from stdin. */ if (remaining == argc) - process_file (cd, stdin, output); + { + if (process_file (cd, stdin, output) != 0) + status = 1; + } else do { -- cgit v1.1