summaryrefslogtreecommitdiff
path: root/localedata/show-ucs-data.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-10-14 20:51:58 +0000
committerUlrich Drepper <drepper@redhat.com>2007-10-14 20:51:58 +0000
commitc9eb73d902993446cdacd200cd11427a861c06ce (patch)
treec9cd94047e54ef8b65db60831f728187f9bdcbde /localedata/show-ucs-data.c
parent6f55ed8885ed1cb45854067743590c44698a1fe1 (diff)
2007-10-14 Ulrich Drepper <drepper@redhat.com> [BZ #4098] * locales/pl_PL: Change abmon, abday, and d_fmt according to results of vote.
Diffstat (limited to 'localedata/show-ucs-data.c')
-rw-r--r--localedata/show-ucs-data.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/localedata/show-ucs-data.c b/localedata/show-ucs-data.c
index 9992ece427..85d2659741 100644
--- a/localedata/show-ucs-data.c
+++ b/localedata/show-ucs-data.c
@@ -10,6 +10,13 @@ main (int argc, char *argv[])
char *line = NULL;
size_t len = 0;
+ if (argc == 1)
+ {
+ static char *new_argv[] = { NULL, (char *) "/dev/stdin", NULL };
+ argv = new_argv;
+ argc = 2;
+ }
+
for (n = 1; n < argc; ++n)
{
FILE *fp = fopen (argv[n], "r");