Source-Changes-HG archive

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

[src/netbsd-1-6]: src/lib/libedit Pull up revisions 1.18-1.19 (requested by m...



details:   https://anonhg.NetBSD.org/src/rev/caed5c693a92
branches:  netbsd-1-6
changeset: 529845:caed5c693a92
user:      jmc <jmc%NetBSD.org@localhost>
date:      Sun Jan 05 08:40:17 2003 +0000

description:
Pull up revisions 1.18-1.19 (requested by masanobu in ticket #1048)
 PR/17954: SAITOH Masanobu: since we have opost and onlcr set, we don't need
 to output \r to go to the end of line; \n is enough. From David Laight.

diffstat:

 lib/libedit/refresh.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 0a9ef6295250 -r caed5c693a92 lib/libedit/refresh.c
--- a/lib/libedit/refresh.c     Sun Jan 05 08:31:57 2003 +0000
+++ b/lib/libedit/refresh.c     Sun Jan 05 08:40:17 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: refresh.c,v 1.18 2002/03/18 16:00:58 christos Exp $    */
+/*     $NetBSD: refresh.c,v 1.18.2.1 2003/01/05 08:40:17 jmc Exp $     */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -41,7 +41,7 @@
 #if 0
 static char sccsid[] = "@(#)refresh.c  8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: refresh.c,v 1.18 2002/03/18 16:00:58 christos Exp $");
+__RCSID("$NetBSD: refresh.c,v 1.18.2.1 2003/01/05 08:40:17 jmc Exp $");
 #endif
 #endif /* not lint && not SCCSID */
 
@@ -318,7 +318,6 @@
 {
 
        term_move_to_line(el, el->el_refresh.r_oldcv);
-       term__putc('\r');
        term__putc('\n');
        re_clear_display(el);
        term__flush();



Home | Main Index | Thread Index | Old Index