Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libedit PR/57376: Jorge Giner: readline file completion ...
details: https://anonhg.NetBSD.org/src/rev/685befedb738
branches: trunk
changeset: 374466:685befedb738
user: christos <christos%NetBSD.org@localhost>
date: Mon Apr 24 20:02:53 2023 +0000
description:
PR/57376: Jorge Giner: readline file completion does not quote; do the same.
diffstat:
lib/libedit/readline.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r eb4cb2a9d264 -r 685befedb738 lib/libedit/readline.c
--- a/lib/libedit/readline.c Mon Apr 24 19:12:33 2023 +0000
+++ b/lib/libedit/readline.c Mon Apr 24 20:02:53 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: readline.c,v 1.179 2023/04/21 14:56:13 christos Exp $ */
+/* $NetBSD: readline.c,v 1.180 2023/04/24 20:02:53 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.179 2023/04/21 14:56:13 christos Exp $");
+__RCSID("$NetBSD: readline.c,v 1.180 2023/04/24 20:02:53 christos Exp $");
#endif /* not lint && not SCCSID */
#include <sys/types.h>
@@ -1978,7 +1978,7 @@ rl_complete(int ignore __attribute__((__
_rl_update_pos();
/* Just look at how many global variables modify this operation! */
- return fn_complete(e,
+ return fn_complete2(e,
(rl_compentry_func_t *)rl_completion_entry_function,
rl_attempted_completion_function,
ct_decode_string(rl_basic_word_break_characters, &wbreak_conv),
@@ -1986,7 +1986,7 @@ rl_complete(int ignore __attribute__((__
_rl_completion_append_character_function,
(size_t)rl_completion_query_items,
&rl_completion_type, &rl_attempted_completion_over,
- &rl_point, &rl_end);
+ &rl_point, &rl_end, 0);
}
Home |
Main Index |
Thread Index |
Old Index