sh: Allow arbitrarily large numbers in break and continue.
authorjilles <jilles@FreeBSD.org>
Sun, 20 Jul 2014 20:29:09 +0000 (20:29 +0000)
committerjilles <jilles@FreeBSD.org>
Sun, 20 Jul 2014 20:29:09 +0000 (20:29 +0000)
commit8c44f4d5e2720f2acdcf5f17db3908e6b5a396c9
treea9b54617a6a287ad1219072a06e97076eae1110f
parent30b6369746e5c67ea575ac72604b40bfdd81e6d7
sh: Allow arbitrarily large numbers in break and continue.

The argument is capped to loopnest, so strtol()'s [ERANGE] can be ignored.
bin/sh/eval.c
bin/sh/tests/builtins/Makefile
bin/sh/tests/builtins/break6.0 [new file with mode: 0644]