Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/sh Oops, somehow managed to commit an older version wher...
details: https://anonhg.NetBSD.org/src/rev/106efc40b165
branches: trunk
changeset: 370147:106efc40b165
user: kre <kre%NetBSD.org@localhost>
date: Sun Sep 18 17:11:33 2022 +0000
description:
Oops, somehow managed to commit an older version where NBSH_INVOCATION
start char was '@' rather than '!' (which meant not lexically ordered).
This is how it was intended to be (and is documented).
diffstat:
bin/sh/var.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a89df5aa1722 -r 106efc40b165 bin/sh/var.c
--- a/bin/sh/var.c Sun Sep 18 16:59:35 2022 +0000
+++ b/bin/sh/var.c Sun Sep 18 17:11:33 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: var.c,v 1.81 2022/09/18 06:03:19 kre Exp $ */
+/* $NetBSD: var.c,v 1.82 2022/09/18 17:11:33 kre Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)var.c 8.3 (Berkeley) 5/4/95";
#else
-__RCSID("$NetBSD: var.c,v 1.81 2022/09/18 06:03:19 kre Exp $");
+__RCSID("$NetBSD: var.c,v 1.82 2022/09/18 17:11:33 kre Exp $");
#endif
#endif /* not lint */
@@ -538,7 +538,7 @@
*/
v = value;
- *v++ = '@'; /* never empty, and the '-' is not first */
+ *v++ = '!'; /* never empty, and the '-' is not first */
if (argc > 0 && argv[0] != NULL && argv[0][0] == '-')
*v++ = '-';
Home |
Main Index |
Thread Index |
Old Index