diff options
Diffstat (limited to 'iconv')
-rw-r--r-- | iconv/iconv_prog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iconv/iconv_prog.c b/iconv/iconv_prog.c index 3c7851f7a5..6b9930e50a 100644 --- a/iconv/iconv_prog.c +++ b/iconv/iconv_prog.c @@ -193,7 +193,7 @@ main (int argc, char *argv[]) } /* Determine output file. */ - if (output_file != NULL) + if (output_file != NULL && strcmp (output_file, "-") != 0) { output = fopen (output_file, "w"); if (output == NULL) |