Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libedit PR/54280: rl_completer_quote_characters should b...
details: https://anonhg.NetBSD.org/src/rev/4b9a14ef5b0a
branches: trunk
changeset: 457037:4b9a14ef5b0a
user: christos <christos%NetBSD.org@localhost>
date: Fri Jun 07 15:19:29 2019 +0000
description:
PR/54280: rl_completer_quote_characters should be const for readline compat
diffstat:
lib/libedit/readline.c | 6 +++---
lib/libedit/readline/readline.h | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 53a1410c5fde -r 4b9a14ef5b0a lib/libedit/readline.c
--- a/lib/libedit/readline.c Fri Jun 07 15:18:20 2019 +0000
+++ b/lib/libedit/readline.c Fri Jun 07 15:19:29 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: readline.c,v 1.153 2019/06/07 15:18:20 christos Exp $ */
+/* $NetBSD: readline.c,v 1.154 2019/06/07 15:19:29 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.153 2019/06/07 15:18:20 christos Exp $");
+__RCSID("$NetBSD: readline.c,v 1.154 2019/06/07 15:19:29 christos Exp $");
#endif /* not lint && not SCCSID */
#include <sys/types.h>
@@ -107,7 +107,7 @@
int rl_attempted_completion_over = 0;
const char *rl_basic_word_break_characters = break_chars;
char *rl_completer_word_break_characters = NULL;
-char *rl_completer_quote_characters = NULL;
+const char *rl_completer_quote_characters = NULL;
rl_compentry_func_t *rl_completion_entry_function = NULL;
char *(*rl_completion_word_break_hook)(void) = NULL;
rl_completion_func_t *rl_attempted_completion_function = NULL;
diff -r 53a1410c5fde -r 4b9a14ef5b0a lib/libedit/readline/readline.h
--- a/lib/libedit/readline/readline.h Fri Jun 07 15:18:20 2019 +0000
+++ b/lib/libedit/readline/readline.h Fri Jun 07 15:19:29 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: readline.h,v 1.45 2019/02/15 23:20:35 christos Exp $ */
+/* $NetBSD: readline.h,v 1.46 2019/06/07 15:19:29 christos Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -108,7 +108,7 @@
extern int max_input_history;
extern const char *rl_basic_word_break_characters;
extern char *rl_completer_word_break_characters;
-extern char *rl_completer_quote_characters;
+extern const char *rl_completer_quote_characters;
extern rl_compentry_func_t *rl_completion_entry_function;
extern char *(*rl_completion_word_break_hook)(void);
extern rl_completion_func_t *rl_attempted_completion_function;
Home |
Main Index |
Thread Index |
Old Index