mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
Update.
* iconv/iconv_prog.c (main): If output file name is "-" write to stdout. (main): If -f or -t argument is missing use charset of the current locale.
This commit is contained in:
parent
b3c3fe4287
commit
377c725f8e
@ -1,7 +1,9 @@
|
||||
2001-02-03 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* iconv/iconv_prog.c (main): If -f or -t argument is missing use
|
||||
charset of the current locale.
|
||||
* iconv/iconv_prog.c (main): If output file name is "-" write to
|
||||
stdout.
|
||||
(main): If -f or -t argument is missing use charset of the current
|
||||
locale.
|
||||
|
||||
2001-02-03 Andreas Jaeger <aj@suse.de>
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user