diff options
Diffstat (limited to 'iconv/iconv_prog.c')
-rw-r--r-- | iconv/iconv_prog.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/iconv/iconv_prog.c b/iconv/iconv_prog.c index 7dd0f3422c..8f05d57a18 100644 --- a/iconv/iconv_prog.c +++ b/iconv/iconv_prog.c @@ -1,5 +1,5 @@ /* Convert text in given files from the specified from-set to the to-set. - Copyright (C) 1998 Free Software Foundation, Inc. + Copyright (C) 1998, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998. @@ -295,7 +295,7 @@ print_version (FILE *stream, struct argp_state *state) Copyright (C) %s Free Software Foundation, Inc.\n\ This is free software; see the source for copying conditions. There is NO\n\ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\ -"), "1998"); +"), "1999"); fprintf (stream, gettext ("Written by %s.\n"), "Ulrich Drepper"); } @@ -319,7 +319,7 @@ process_block (iconv_t cd, const char *addr, size_t len, FILE *output) if (outptr != outbuf) { /* We have something to write out. */ - if (fwrite (outbuf, 1, outptr - outbuf, output) < outptr - outbuf + if (fwrite (outbuf, 1, outptr - outbuf, output) < outptr - outbuf || ferror (output)) { /* Error occurred while printing the result. */ |