From 11fa4c47513c298a58113f8fd2a473ec7f643254 Mon Sep 17 00:00:00 2001 From: stefanf Date: Sun, 11 Mar 2007 18:30:22 +0000 Subject: Merge the following changes from NetBSD: chared.h 1.17, common.c 1.19, emacs.c 1.21, key.c 1.18, key.h 1.9, map.c 1.23, term.c 1.42, term.h 1.17, vi.c 1.25: # Print the actual eofc, instead of ^D\b\b. # Change internal character decoding to prevent buffer oveflows. key.c 1.19, key.h 1.10: # move declaration to header file. term.c 1.43: # Coverity CID 806: Prevent NULL deref term.c 1.44: # Coverity CID 1668: Plug memory leak. term.c 1.45: # Fix compilation. MFC after: 3 weeks --- lib/libedit/term.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/libedit/term.h') diff --git a/lib/libedit/term.h b/lib/libedit/term.h index d97b46d..95ad8f9 100644 --- a/lib/libedit/term.h +++ b/lib/libedit/term.h @@ -30,7 +30,7 @@ * SUCH DAMAGE. * * @(#)term.h 8.1 (Berkeley) 6/4/93 - * $NetBSD: term.h,v 1.16 2005/03/15 00:10:40 christos Exp $ + * $NetBSD: term.h,v 1.17 2006/03/06 21:11:56 christos Exp $ * $FreeBSD$ */ @@ -102,6 +102,7 @@ protected int term_set(EditLine *, const char *); protected int term_settc(EditLine *, int, const char **); protected int term_telltc(EditLine *, int, const char **); protected int term_echotc(EditLine *, int, const char **); +protected void term_writec(EditLine *, int); protected int term__putc(int); protected void term__flush(void); -- cgit v1.1