summaryrefslogtreecommitdiff
path: root/bin/sh/main.c
diff options
context:
space:
mode:
authorMartin Cracauer <cracauer@FreeBSD.org>2000-08-16 10:39:43 +0000
committerMartin Cracauer <cracauer@FreeBSD.org>2000-08-16 10:39:43 +0000
commit84c3800cdcd0ca86a1c678a9eeb1adb3279550c4 (patch)
tree85d61b5f5d4aca6f3733287a2abc91d067aa3b34 /bin/sh/main.c
parent0150f3ec9b7c1f917c9322cddde710e131b5da88 (diff)
downloadsrc-test2-84c3800cdcd0ca86a1c678a9eeb1adb3279550c4.tar.gz
src-test2-84c3800cdcd0ca86a1c678a9eeb1adb3279550c4.zip
Notes
Diffstat (limited to 'bin/sh/main.c')
-rw-r--r--bin/sh/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/sh/main.c b/bin/sh/main.c
index 32eb82aabf00..7d005868758f 100644
--- a/bin/sh/main.c
+++ b/bin/sh/main.c
@@ -253,12 +253,13 @@ cmdloop(top)
evaltree(n, 0);
}
popstackmark(&smark);
+ setstackmark(&smark);
if (evalskip == SKIPFILE) {
evalskip = 0;
break;
}
}
- popstackmark(&smark); /* unnecessary */
+ popstackmark(&smark);
}