hush: restore redirected stdin
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 1 Nov 2019 13:16:07 +0000 (14:16 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 1 Nov 2019 13:16:07 +0000 (14:16 +0100)
commit21806562ca6350c78a14a89c22f985900ce96ade
tree8f6aa1ce178688c9668102c888b851e25490118e
parentea096d6c1389c93bdb6c6c45a04aff9062c7d8cf
hush: restore redirected stdin

function                                             old     new   delta
restore_redirects                                     52      95     +43
save_fd_on_redirect                                  243     253     +10
hfopen                                                90      99      +9
fgetc_interactive                                    259     261      +2
builtin_type                                         117     115      -2
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/1 up/down: 64/-2)              Total: 62 bytes

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