Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libedit OpenBSD term.c rev. 1.7 2002/11/29 20:13:39 deraadt
details: https://anonhg.NetBSD.org/src/rev/ea5446ce8500
branches: trunk
changeset: 343596:ea5446ce8500
user: christos <christos%NetBSD.org@localhost>
date: Mon Feb 15 22:53:38 2016 +0000
description:
OpenBSD term.c rev. 1.7 2002/11/29 20:13:39 deraadt
spelling
diffstat:
lib/libedit/terminal.c | 16 +++++++---------
1 files changed, 7 insertions(+), 9 deletions(-)
diffs (65 lines):
diff -r e5baff1922bf -r ea5446ce8500 lib/libedit/terminal.c
--- a/lib/libedit/terminal.c Mon Feb 15 22:48:59 2016 +0000
+++ b/lib/libedit/terminal.c Mon Feb 15 22:53:38 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: terminal.c,v 1.17 2016/02/15 15:35:03 christos Exp $ */
+/* $NetBSD: terminal.c,v 1.18 2016/02/15 22:53:38 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: terminal.c,v 1.17 2016/02/15 15:35:03 christos Exp $");
+__RCSID("$NetBSD: terminal.c,v 1.18 2016/02/15 22:53:38 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -507,8 +507,7 @@
if (where > el->el_terminal.t_size.v) {
#ifdef DEBUG_SCREEN
(void) fprintf(el->el_errfile,
- "terminal_move_to_line: where is ridiculous: %d\r\n",
- where);
+ "%s: where is ridiculous: %d\r\n", __func__, where);
#endif /* DEBUG_SCREEN */
return;
}
@@ -574,8 +573,7 @@
if (where > el->el_terminal.t_size.h) {
#ifdef DEBUG_SCREEN
(void) fprintf(el->el_errfile,
- "terminal_move_to_char: where is riduculous: %d\r\n",
- where);
+ "%s: where is ridiculous: %d\r\n", __func__, where);
#endif /* DEBUG_SCREEN */
return;
}
@@ -669,7 +667,7 @@
if (n > (size_t)el->el_terminal.t_size.h) {
#ifdef DEBUG_SCREEN
(void) fprintf(el->el_errfile,
- "terminal_overwrite: n is riduculous: %d\r\n", n);
+ "%s: n is ridiculous: %d\r\n", __func__, n);
#endif /* DEBUG_SCREEN */
return;
}
@@ -725,7 +723,7 @@
if (num > el->el_terminal.t_size.h) {
#ifdef DEBUG_SCREEN
(void) fprintf(el->el_errfile,
- "terminal_deletechars: num is riduculous: %d\r\n", num);
+ "%s: num is ridiculous: %d\r\n", __func__, num);
#endif /* DEBUG_SCREEN */
return;
}
@@ -766,7 +764,7 @@
if (num > el->el_terminal.t_size.h) {
#ifdef DEBUG_SCREEN
(void) fprintf(el->el_errfile,
- "StartInsert: num is riduculous: %d\r\n", num);
+ "%s: num is ridiculous: %d\r\n", __func__, num);
#endif /* DEBUG_SCREEN */
return;
}
Home |
Main Index |
Thread Index |
Old Index