Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libedit/common.c,v rcsdiff: /ftp/cvs/cvsroot/src/lib/libedit/common.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.47 retrieving revision 1.48 diff -u -p -r1.47 -r1.48 --- src/lib/libedit/common.c 2016/05/22 19:44:26 1.47 +++ src/lib/libedit/common.c 2018/02/26 17:36:14 1.48 @@ -1,4 +1,4 @@ -/* $NetBSD: common.c,v 1.47 2016/05/22 19:44:26 christos Exp $ */ +/* $NetBSD: common.c,v 1.48 2018/02/26 17:36:14 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.47 2016/05/22 19:44:26 christos Exp $"); +__RCSID("$NetBSD: common.c,v 1.48 2018/02/26 17:36:14 christos Exp $"); #endif #endif /* not lint && not SCCSID */ @@ -363,15 +363,17 @@ ed_prev_char(EditLine *el, wint_t c __at * [^V] [^V] */ libedit_private el_action_t -ed_quoted_insert(EditLine *el, wint_t c) +/*ARGSUSED*/ +ed_quoted_insert(EditLine *el, wint_t c __attribute__((__unused__))) { int num; + wchar_t ch; tty_quotemode(el); - num = el_wgetc(el, &c); + num = el_wgetc(el, &ch); tty_noquotemode(el); if (num == 1) - return ed_insert(el, c); + return ed_insert(el, ch); else return ed_end_of_file(el, 0); }