Source-Changes-HG archive

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

[src/trunk]: src/lib/libedit Spelling mistakes and comment errors (from FreeB...



details:   https://anonhg.NetBSD.org/src/rev/161399d0da49
branches:  trunk
changeset: 583481:161399d0da49
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Aug 08 14:05:37 2005 +0000

description:
Spelling mistakes and comment errors (from FreeBSD via Stefan Farfeleder; many
thanks)

diffstat:

 lib/libedit/chared.h |  4 ++--
 lib/libedit/common.c |  6 +++---
 lib/libedit/emacs.c  |  6 +++---
 lib/libedit/key.c    |  8 ++++----
 lib/libedit/term.c   |  8 ++++----
 lib/libedit/vi.c     |  8 ++++----
 6 files changed, 20 insertions(+), 20 deletions(-)

diffs (180 lines):

diff -r 8c40a0cca167 -r 161399d0da49 lib/libedit/chared.h
--- a/lib/libedit/chared.h      Mon Aug 08 14:04:49 2005 +0000
+++ b/lib/libedit/chared.h      Mon Aug 08 14:05:37 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: chared.h,v 1.15 2005/08/01 23:00:15 christos Exp $     */
+/*     $NetBSD: chared.h,v 1.16 2005/08/08 14:05:37 christos Exp $     */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -48,7 +48,7 @@
 #define        EL_MAXMACRO     10
 
 /*
- * This is a issue of basic "vi" look-and-feel. Defining VI_MOVE works
+ * This is an issue of basic "vi" look-and-feel. Defining VI_MOVE works
  * like real vi: i.e. the transition from command<->insert modes moves
  * the cursor.
  *
diff -r 8c40a0cca167 -r 161399d0da49 lib/libedit/common.c
--- a/lib/libedit/common.c      Mon Aug 08 14:04:49 2005 +0000
+++ b/lib/libedit/common.c      Mon Aug 08 14:05:37 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: common.c,v 1.17 2005/08/01 23:00:15 christos Exp $     */
+/*     $NetBSD: common.c,v 1.18 2005/08/08 14:05:37 christos Exp $     */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)common.c   8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: common.c,v 1.17 2005/08/01 23:00:15 christos Exp $");
+__RCSID("$NetBSD: common.c,v 1.18 2005/08/08 14:05:37 christos Exp $");
 #endif
 #endif /* not lint && not SCCSID */
 
@@ -155,7 +155,7 @@
                                return (CC_ERROR);
 #else
                                term_overwrite(el, STReof, 4);
-                                       /* then do a EOF */
+                                       /* then do an EOF */
                                term__flush();
                                return (CC_EOF);
 #endif
diff -r 8c40a0cca167 -r 161399d0da49 lib/libedit/emacs.c
--- a/lib/libedit/emacs.c       Mon Aug 08 14:04:49 2005 +0000
+++ b/lib/libedit/emacs.c       Mon Aug 08 14:05:37 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: emacs.c,v 1.19 2004/10/28 21:14:52 dsl Exp $   */
+/*     $NetBSD: emacs.c,v 1.20 2005/08/08 14:05:37 christos Exp $      */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)emacs.c    8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: emacs.c,v 1.19 2004/10/28 21:14:52 dsl Exp $");
+__RCSID("$NetBSD: emacs.c,v 1.20 2005/08/08 14:05:37 christos Exp $");
 #endif
 #endif /* not lint && not SCCSID */
 
@@ -59,7 +59,7 @@
                                        /* if I'm at the end */
                if (el->el_line.cursor == el->el_line.buffer) {
                                        /* and the beginning */
-                       term_overwrite(el, STReof, 4);  /* then do a EOF */
+                       term_overwrite(el, STReof, 4);  /* then do an EOF */
                        term__flush();
                        return (CC_EOF);
                } else {
diff -r 8c40a0cca167 -r 161399d0da49 lib/libedit/key.c
--- a/lib/libedit/key.c Mon Aug 08 14:04:49 2005 +0000
+++ b/lib/libedit/key.c Mon Aug 08 14:05:37 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: key.c,v 1.16 2005/07/06 21:13:02 christos Exp $        */
+/*     $NetBSD: key.c,v 1.17 2005/08/08 14:05:37 christos Exp $        */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)key.c      8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: key.c,v 1.16 2005/07/06 21:13:02 christos Exp $");
+__RCSID("$NetBSD: key.c,v 1.17 2005/08/08 14:05:37 christos Exp $");
 #endif
 #endif /* not lint && not SCCSID */
 
@@ -46,7 +46,7 @@
  *       the extended-key map.
  *
  *      An extended-key (key) is a sequence of keystrokes introduced
- *     with an sequence introducer and consisting of an arbitrary
+ *     with a sequence introducer and consisting of an arbitrary
  *     number of characters.  This module maintains a map (the el->el_key.map)
  *     to convert these extended-key sequences into input strs
  *     (XK_STR), editor functions (XK_CMD), or unix commands (XK_EXE).
@@ -449,7 +449,7 @@
 
 
 /* node__get():
- *     Returns pointer to an key_node_t for ch.
+ *     Returns pointer to a key_node_t for ch.
  */
 private key_node_t *
 node__get(int ch)
diff -r 8c40a0cca167 -r 161399d0da49 lib/libedit/term.c
--- a/lib/libedit/term.c        Mon Aug 08 14:04:49 2005 +0000
+++ b/lib/libedit/term.c        Mon Aug 08 14:05:37 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: term.c,v 1.40 2004/05/22 23:21:28 christos Exp $       */
+/*     $NetBSD: term.c,v 1.41 2005/08/08 14:05:37 christos Exp $       */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)term.c     8.2 (Berkeley) 4/30/95";
 #else
-__RCSID("$NetBSD: term.c,v 1.40 2004/05/22 23:21:28 christos Exp $");
+__RCSID("$NetBSD: term.c,v 1.41 2005/08/08 14:05:37 christos Exp $");
 #endif
 #endif /* not lint && not SCCSID */
 
@@ -944,7 +944,7 @@
                Val(T_co) = tgetnum("co");
                Val(T_li) = tgetnum("li");
                for (t = tstr; t->name != NULL; t++) {
-                       /* XXX: some systems tgetstr needs non const */
+                       /* XXX: some systems' tgetstr needs non const */
                        term_alloc(el, t, tgetstr(strchr(t->name, *t->name),
                            &area));
                }
@@ -1449,7 +1449,7 @@
                        break;
                }
        if (t->name == NULL) {
-               /* XXX: some systems tgetstr needs non const */
+               /* XXX: some systems' tgetstr needs non const */
                scap = tgetstr(strchr(*argv, **argv), &area);
        }
        if (!scap || scap[0] == '\0') {
diff -r 8c40a0cca167 -r 161399d0da49 lib/libedit/vi.c
--- a/lib/libedit/vi.c  Mon Aug 08 14:04:49 2005 +0000
+++ b/lib/libedit/vi.c  Mon Aug 08 14:05:37 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vi.c,v 1.21 2005/04/25 01:06:03 matt Exp $     */
+/*     $NetBSD: vi.c,v 1.22 2005/08/08 14:05:37 christos Exp $ */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -41,7 +41,7 @@
 #if 0
 static char sccsid[] = "@(#)vi.c       8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: vi.c,v 1.21 2005/04/25 01:06:03 matt Exp $");
+__RCSID("$NetBSD: vi.c,v 1.22 2005/08/08 14:05:37 christos Exp $");
 #endif
 #endif /* not lint && not SCCSID */
 
@@ -895,7 +895,7 @@
 
 /* vi_comment_out():
  *     Vi comment out current command
- *     [c]
+ *     [#]
  */
 protected el_action_t
 /*ARGSUSED*/
@@ -912,7 +912,7 @@
 /* vi_alias():
  *     Vi include shell alias
  *     [@]
- * NB: posix impiles that we should enter insert mode, however
+ * NB: posix implies that we should enter insert mode, however
  * this is against historical precedent...
  */
 protected el_action_t



Home | Main Index | Thread Index | Old Index