hush: fix handling of empty heredoc EOF marker
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 29 Jul 2017 18:43:26 +0000 (20:43 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 29 Jul 2017 18:43:26 +0000 (20:43 +0200)
commit0f018b30700989462de0a15b8285206d16170c1f
treef59fd946c2a00030fd2a65f45004da2b70eb136a
parenta732898fdd9748b966da228ee8bbbc148c3c10c9
hush: fix handling of empty heredoc EOF marker

function                                             old     new   delta
parse_stream                                        2609    2634     +25

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash_test/ash-heredoc/heredoc_empty2.right [new file with mode: 0644]
shell/ash_test/ash-heredoc/heredoc_empty2.tests [new file with mode: 0755]
shell/hush.c
shell/hush_test/hush-heredoc/heredoc_empty2.right [new file with mode: 0644]
shell/hush_test/hush-heredoc/heredoc_empty2.tests [new file with mode: 0755]