hush: fix "redirects can close script fd" bug
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 22 Aug 2016 17:54:12 +0000 (19:54 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 22 Aug 2016 17:54:12 +0000 (19:54 +0200)
commitaa3576a29b9619f4e1c1b131f5db53ad2bc2cb00
tree9dba84b07e8dda7f82a8dba84299bab21e6b9fd2
parentd8e61bbf13d0cf38d477255cfd5dc71c5d51d575
hush: fix "redirects can close script fd" bug

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
include/libbb.h
shell/hush.c
shell/hush_test/hush-misc/redir_script.right [new file with mode: 0644]
shell/hush_test/hush-misc/redir_script.tests [new file with mode: 0755]