Module Name: src
Committed By: kre
Date: Wed May 3 00:47:29 UTC 2017
Modified Files:
src/bin/sh: eval.c
Log Message:
Correct a dsl comment relating to setting $_ - I thought I had done
this ages ago, but apparently not...
To generate a diff of this commit:
cvs rdiff -u -r1.131 -r1.132 src/bin/sh/eval.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/sh/eval.c
diff -u src/bin/sh/eval.c:1.131 src/bin/sh/eval.c:1.132
--- src/bin/sh/eval.c:1.131 Sat Apr 22 15:53:17 2017
+++ src/bin/sh/eval.c Wed May 3 00:47:29 2017
@@ -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 @@ parent: /* parent process gets here (if
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);
}