Update.
* iconv/iconvconfig.c (main): Don't write an output file if we have seen an error.
This commit is contained in:
parent
a2cb734f5d
commit
ba915a3807
@ -1,5 +1,8 @@
|
||||
2001-07-25 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* iconv/iconvconfig.c (main): Don't write an output file if we
|
||||
have seen an error.
|
||||
|
||||
* iconv/Makefile (install-bin): Add iconvconfig.
|
||||
|
||||
2001-07-25 Jakub Jelinek <jakub@redhat.com>
|
||||
|
@ -301,8 +301,11 @@ main (int argc, char *argv[])
|
||||
about them. */
|
||||
generate_name_info ();
|
||||
|
||||
/* Write the output file. */
|
||||
status = write_output ();
|
||||
/* Write the output file, but only if we haven't seen any error. */
|
||||
if (status == 0)
|
||||
status = write_output ();
|
||||
else
|
||||
fputs ("No output written!\n", stderr);
|
||||
|
||||
return status;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user