Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/sh PR/47608: Robert Elz: ``var=value func-call'' does no...
details: https://anonhg.NetBSD.org/src/rev/4a231cf1307d
branches: trunk
changeset: 785199:4a231cf1307d
user: christos <christos%NetBSD.org@localhost>
date: Sat Mar 02 22:02:32 2013 +0000
description:
PR/47608: Robert Elz: ``var=value func-call'' does not export var in the
function (+FIX)
diffstat:
bin/sh/eval.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 126fbc1cbcbb -r 4a231cf1307d bin/sh/eval.c
--- a/bin/sh/eval.c Sat Mar 02 21:56:28 2013 +0000
+++ b/bin/sh/eval.c Sat Mar 02 22:02:32 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: eval.c,v 1.105 2013/01/02 22:28:42 dsl Exp $ */
+/* $NetBSD: eval.c,v 1.106 2013/03/02 22:02:32 christos 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.105 2013/01/02 22:28:42 dsl Exp $");
+__RCSID("$NetBSD: eval.c,v 1.106 2013/03/02 22:02:32 christos Exp $");
#endif
#endif /* not lint */
@@ -947,7 +947,7 @@
}
savehandler = handler;
handler = &jmploc;
- listmklocal(varlist.list, 0);
+ listmklocal(varlist.list, VEXPORT);
/* stop shell blowing its stack */
if (++funcnest > 1000)
error("too many nested function calls");
Home |
Main Index |
Thread Index |
Old Index