From b1a3906f8a52fcd8c45264a6cfaea8e9849dfe7c Mon Sep 17 00:00:00 2001 From: Alexey Gladkov Date: Sun, 28 Jan 2007 22:20:12 +0300 Subject: [PATCH] [SYSTEM] Apply patch from SUSE. Apply kbd-1.12-loadkeys-repstdout.diff patch from SUSE distribution. Patch fix output then --mktable option specified. Signed-off-by: Alexey Gladkov --- src/loadkeys.y | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/loadkeys.y b/src/loadkeys.y index d17ebfd..3709e1c 100644 --- a/src/loadkeys.y +++ b/src/loadkeys.y @@ -537,7 +537,7 @@ open_include(char *s) { if (verbose) /* start reading include file */ - fprintf(stderr, _("switching to %s\n"), s); + fprintf(stdout, _("switching to %s\n"), s); lk_push(); @@ -613,8 +613,8 @@ yywrap(void) { */ gotf: filename = xstrdup(pathname); - if (!quiet) - fprintf(stderr, _("Loading %s\n"), pathname); + if (!quiet && !optm) + fprintf(stdout, _("Loading %s\n"), pathname); if (first_file) { yyin = f; first_file = 0; -- 2.7.4