Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/sh Quote the filenames like before
details: https://anonhg.NetBSD.org/src/rev/fa2ee01bb145
branches: trunk
changeset: 1023549:fa2ee01bb145
user: christos <christos%NetBSD.org@localhost>
date: Tue Sep 14 15:04:09 2021 +0000
description:
Quote the filenames like before
diffstat:
bin/sh/histedit.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 877c9f22c82b -r fa2ee01bb145 bin/sh/histedit.c
--- a/bin/sh/histedit.c Tue Sep 14 14:49:39 2021 +0000
+++ b/bin/sh/histedit.c Tue Sep 14 15:04:09 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: histedit.c,v 1.56 2021/08/15 10:17:55 christos Exp $ */
+/* $NetBSD: histedit.c,v 1.57 2021/09/14 15:04:09 christos Exp $ */
/*-
* Copyright (c) 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)histedit.c 8.2 (Berkeley) 5/4/95";
#else
-__RCSID("$NetBSD: histedit.c,v 1.56 2021/08/15 10:17:55 christos Exp $");
+__RCSID("$NetBSD: histedit.c,v 1.57 2021/09/14 15:04:09 christos Exp $");
#endif
#endif /* not lint */
@@ -622,9 +622,9 @@
unsigned char
sh_complete(EditLine *sel, int ch __unused)
{
- return (unsigned char)fn_complete(sel, NULL, sh_matches,
+ return (unsigned char)fn_complete2(sel, NULL, sh_matches,
L" \t\n\"\\'`@$><=;|&{(", NULL, NULL, (size_t)100,
- NULL, &((int) {0}), NULL, NULL);
+ NULL, &((int) {0}), NULL, NULL, FN_QUOTE_MATCH);
}
static int
Home |
Main Index |
Thread Index |
Old Index