Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libedit PR/9244: Kevin Schoedel: libedit dumps bindings ...



details:   https://anonhg.NetBSD.org/src/rev/233c7bd546de
branches:  trunk
changeset: 480774:233c7bd546de
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jan 19 18:31:10 2000 +0000

description:
PR/9244: Kevin Schoedel: libedit dumps bindings inconsistently

diffstat:

 lib/libedit/key.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (50 lines):

diff -r 296571302b84 -r 233c7bd546de lib/libedit/key.c
--- a/lib/libedit/key.c Wed Jan 19 18:30:19 2000 +0000
+++ b/lib/libedit/key.c Wed Jan 19 18:31:10 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: key.c,v 1.5 1999/07/02 15:21:25 simonb Exp $   */
+/*     $NetBSD: key.c,v 1.6 2000/01/19 18:31:10 christos Exp $ */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -41,7 +41,7 @@
 #if 0
 static char sccsid[] = "@(#)key.c      8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: key.c,v 1.5 1999/07/02 15:21:25 simonb Exp $");
+__RCSID("$NetBSD: key.c,v 1.6 2000/01/19 18:31:10 christos Exp $");
 #endif
 #endif /* not lint && not SCCSID */
 
@@ -614,19 +614,19 @@
        switch (ntype) {
        case XK_STR:
        case XK_EXE:
-           (void) fprintf(el->el_errfile, fmt, key,
+           (void) fprintf(el->el_outfile, fmt, key,
                           key__decode_str(val->str, unparsbuf,
                                              ntype == XK_STR ? "\"\"" : "[]"));
            break;
        case XK_CMD:
            for (fp = el->el_map.help; fp->name; fp++)
                if (val->cmd == fp->func) {
-                   (void) fprintf(el->el_errfile, fmt, key, fp->name);
+                   (void) fprintf(el->el_outfile, fmt, key, fp->name);
                    break;
                }
 #ifdef DEBUG_KEY
            if (fp->name == NULL)
-               (void) fprintf(el->el_errfile, "BUG! Command not found.\n");
+               (void) fprintf(el->el_outfile, "BUG! Command not found.\n");
 #endif
 
            break;
@@ -635,7 +635,7 @@
            break;
        }
     else
-       (void) fprintf(el->el_errfile, fmt, key, "no input");
+       (void) fprintf(el->el_outfile, fmt, key, "no input");
 }
 
 



Home | Main Index | Thread Index | Old Index