busybox/shell/ash_test/ash-heredoc
Ron Yorston 713f07d906 ash: fix error during recursive processing of here document
Save the value of the checkkwd flag to prevent it being clobbered
during recursion.

Based on commit ec2c84d from git://git.kernel.org/pub/scm/utils/dash/dash.git
by Herbert Xu.

function                                             old     new   delta
readtoken                                            190     203     +13
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/0 up/down: 13/0)               Total: 13 bytes

Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2015-10-29 20:45:36 +01:00
..
heredoc1.right
heredoc1.tests
heredoc2.right ash: add test for issue with here document 2015-10-29 19:12:03 +01:00
heredoc2.tests ash: add test for issue with here document 2015-10-29 19:12:03 +01:00
heredoc3.right ash: fix error during recursive processing of here document 2015-10-29 20:45:36 +01:00
heredoc3.tests ash: fix error during recursive processing of here document 2015-10-29 20:45:36 +01:00
heredoc.right
heredoc.tests