Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/sh Correct a dsl comment relating to setting $_ - I thou...
details: https://anonhg.NetBSD.org/src/rev/9cb6ed3f56a4
branches: trunk
changeset: 353386:9cb6ed3f56a4
user: kre <kre%NetBSD.org@localhost>
date: Wed May 03 00:47:29 2017 +0000
description:
Correct a dsl comment relating to setting $_ - I thought I had done
this ages ago, but apparently not...
diffstat:
bin/sh/eval.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diffs (30 lines):
diff -r 480c90eee921 -r 9cb6ed3f56a4 bin/sh/eval.c
--- a/bin/sh/eval.c Wed May 03 00:43:22 2017 +0000
+++ b/bin/sh/eval.c Wed May 03 00:47:29 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: eval.c,v 1.131 2017/04/22 15:53:17 kre Exp $ */
+/* $NetBSD: eval.c,v 1.132 2017/05/03 00:47:29 kre Exp $ */
/*-
* Copyright (c) 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)eval.c 8.9 (Berkeley) 6/8/95";
#else
-__RCSID("$NetBSD: eval.c,v 1.131 2017/04/22 15:53:17 kre Exp $");
+__RCSID("$NetBSD: eval.c,v 1.132 2017/05/03 00:47:29 kre Exp $");
#endif
#endif /* not lint */
@@ -1143,10 +1143,7 @@
out:
if (lastarg)
- /* dsl: I think this is intended to be used to support
- * '_' in 'vi' command mode during line editing...
- * However I implemented that within libedit itself.
- */
+ /* implement $_ for whatever use that really is */
setvar("_", lastarg, 0);
popstackmark(&smark);
}
Home |
Main Index |
Thread Index |
Old Index