hush: fix/explain corner cases of redirection colliding with script fd
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 24 Jul 2018 16:01:22 +0000 (18:01 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 24 Jul 2018 16:01:22 +0000 (18:01 +0200)
commit945e9b05c910d3b946a5d5a396c5a7e075513e6e
tree9e0dd8e37ca6eded1849791097846ee8e7e32c51
parent63c42afaa43d42def05dfbca1f4e10c7314b1f77
hush: fix/explain corner cases of redirection colliding with script fd

function                                             old     new   delta
save_fd_on_redirect                                  200     208      +8
run_pipe                                            1870    1873      +3
setup_redirects                                      321     322      +1
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 12/0)               Total: 12 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush.c