hush: fix heredoc expansion of $var and `cmd`
authorDenis Vlasenko <vda.linux@googlemail.com>
Tue, 7 Apr 2009 19:56:55 +0000 (19:56 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Tue, 7 Apr 2009 19:56:55 +0000 (19:56 -0000)
commit02d6f1ad7229b62c9386c7063f6525e744536c66
treea3b0f3a416913121a30eb40d239eae17404c1046
parent25af86f73d29ee8b74f8776f4e1defe04cf7dcf1
hush: fix heredoc expansion of $var and `cmd`

function                                             old     new   delta
expand_pseudo_dquoted                                  -     104    +104
setup_heredoc                                        215     275     +60
done_word                                            669     691     +22
parse_stream                                        1899    1902      +3
setup_redirects                                      196     191      -5
free_pipe                                            189     183      -6
expand_variables                                    2349    2229    -120
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 3/3 up/down: 189/-131)           Total: 58 bytes
shell/hush.c
shell/hush_test/hush-misc/heredoc2.right
shell/hush_test/hush-misc/heredoc2.tests
shell/hush_test/hush-misc/heredoc3.right [new file with mode: 0644]
shell/hush_test/hush-misc/heredoc3.tests [new file with mode: 0755]