svn commit: r228015 - head/bin/sh
Jilles Tjoelker
jilles at FreeBSD.org
Sun Nov 27 00:09:59 UTC 2011
Author: jilles
Date: Sun Nov 27 00:09:59 2011
New Revision: 228015
URL: http://svn.freebsd.org/changeset/base/228015
Log:
sh: Remove impossible evalskip check in 'for'.
Modified:
head/bin/sh/eval.c
Modified: head/bin/sh/eval.c
==============================================================================
--- head/bin/sh/eval.c Sat Nov 26 23:57:03 2011 (r228014)
+++ head/bin/sh/eval.c Sun Nov 27 00:09:59 2011 (r228015)
@@ -343,8 +343,6 @@ evalfor(union node *n, int flags)
for (argp = n->nfor.args ; argp ; argp = argp->narg.next) {
oexitstatus = exitstatus;
expandarg(argp, &arglist, EXP_FULL | EXP_TILDE);
- if (evalskip)
- goto out;
}
*arglist.lastp = NULL;
@@ -364,7 +362,6 @@ evalfor(union node *n, int flags)
}
}
loopnest--;
-out:
popstackmark(&smark);
}
More information about the svn-src-all
mailing list