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 ash: fix handling of duplicate "local" 2015-04-18 19:36:38 +02:00
heredoc1.tests ash: fix a SEGV case in an invalid heredoc 2015-02-05 21:00:17 +01:00
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 ash: "here document" testcases 2007-03-05 21:08:29 +00:00
heredoc.tests fix accumulated whitespace and indentation damage 2007-03-20 11:30:28 +00:00