Source-Changes-HG archive

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

[src/trunk]: src/lib/libedit OpenBSD readline.c rev. 1.13 2015/01/13 08:33:12...



details:   https://anonhg.NetBSD.org/src/rev/1b7269c41301
branches:  trunk
changeset: 343593:1b7269c41301
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Feb 15 21:58:37 2016 +0000

description:
OpenBSD readline.c rev. 1.13 2015/01/13 08:33:12 reyk
rl_set_keyboard_input_timeout() for readline 4.2 compat

diffstat:

 lib/libedit/readline.c          |  11 +++++++++--
 lib/libedit/readline/readline.h |   4 +++-
 2 files changed, 12 insertions(+), 3 deletions(-)

diffs (47 lines):

diff -r 9ac17831b3bf -r 1b7269c41301 lib/libedit/readline.c
--- a/lib/libedit/readline.c    Mon Feb 15 21:56:35 2016 +0000
+++ b/lib/libedit/readline.c    Mon Feb 15 21:58:37 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: readline.c,v 1.117 2015/06/02 15:35:31 christos Exp $  */
+/*     $NetBSD: readline.c,v 1.118 2016/02/15 21:58:37 christos Exp $  */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include "config.h"
 #if !defined(lint) && !defined(SCCSID)
-__RCSID("$NetBSD: readline.c,v 1.117 2015/06/02 15:35:31 christos Exp $");
+__RCSID("$NetBSD: readline.c,v 1.118 2016/02/15 21:58:37 christos Exp $");
 #endif /* not lint && not SCCSID */
 
 #include <sys/types.h>
@@ -2323,3 +2323,10 @@
 rl_free_line_state(void)
 {
 }
+
+int
+/*ARGSUSED*/
+rl_set_keyboard_input_timeout(int u)
+{
+       return 0;
+}
diff -r 9ac17831b3bf -r 1b7269c41301 lib/libedit/readline/readline.h
--- a/lib/libedit/readline/readline.h   Mon Feb 15 21:56:35 2016 +0000
+++ b/lib/libedit/readline/readline.h   Mon Feb 15 21:58:37 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: readline.h,v 1.37 2015/06/02 15:36:45 christos Exp $   */
+/*     $NetBSD: readline.h,v 1.38 2016/02/15 21:58:38 christos Exp $   */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -216,6 +216,8 @@
 int             rl_bind_key_in_map(int, rl_command_func_t *, Keymap);
 void            rl_cleanup_after_signal(void);
 void            rl_free_line_state(void);
+int             rl_set_keyboard_input_timeout(int);
+
 #ifdef __cplusplus
 }
 #endif



Home | Main Index | Thread Index | Old Index