Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/ksh Add 'return' statement (and whitespace) to sync with...
details: https://anonhg.NetBSD.org/src/rev/97b584170548
branches: trunk
changeset: 550948:97b584170548
user: wiz <wiz%NetBSD.org@localhost>
date: Tue Aug 26 07:35:21 2003 +0000
description:
Add 'return' statement (and whitespace) to sync with OpenBSD version
of the patch committed in v1.12.
diffstat:
bin/ksh/emacs.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r 6124984b52b0 -r 97b584170548 bin/ksh/emacs.c
--- a/bin/ksh/emacs.c Tue Aug 26 07:28:39 2003 +0000
+++ b/bin/ksh/emacs.c Tue Aug 26 07:35:21 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: emacs.c,v 1.17 2003/08/26 07:27:42 wiz Exp $ */
+/* $NetBSD: emacs.c,v 1.18 2003/08/26 07:35:21 wiz Exp $ */
/*
* Emacs-like command line editing and history
@@ -10,7 +10,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: emacs.c,v 1.17 2003/08/26 07:27:42 wiz Exp $");
+__RCSID("$NetBSD: emacs.c,v 1.18 2003/08/26 07:35:21 wiz Exp $");
#endif
@@ -1813,13 +1813,14 @@
x_e_putc(BEL);
return;
}
+
if (type == CT_LIST) {
x_print_expansions(nwords, words, is_command);
x_redraw(0);
x_free_words(nwords, words);
+ return;
}
-
olen = end - start;
nlen = x_longest_prefix(nwords, words);
/* complete */
Home |
Main Index |
Thread Index |
Old Index