Commit 621fc50
Denys Vlasenko
hush: fix a case when redirect to a closed fd #1 is not restoring (closing) it
function old new delta
setup_redirects 200 245 +45
append_squirrel - 41 +41
save_fds_on_redirect 256 221 -35
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/1 up/down: 86/-35) Total: 51 bytes
Signed-off-by: Denys Vlasenko <[email protected]>1 parent b72f1ef commit 621fc50
3 files changed
+35
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6643 | 6643 | | |
6644 | 6644 | | |
6645 | 6645 | | |
| 6646 | + | |
| 6647 | + | |
| 6648 | + | |
| 6649 | + | |
| 6650 | + | |
| 6651 | + | |
| 6652 | + | |
| 6653 | + | |
| 6654 | + | |
6646 | 6655 | | |
6647 | 6656 | | |
| 6657 | + | |
6648 | 6658 | | |
6649 | 6659 | | |
6650 | 6660 | | |
| |||
6664 | 6674 | | |
6665 | 6675 | | |
6666 | 6676 | | |
6667 | | - | |
6668 | | - | |
6669 | 6677 | | |
6670 | | - | |
6671 | | - | |
6672 | | - | |
| 6678 | + | |
| 6679 | + | |
| 6680 | + | |
6673 | 6681 | | |
6674 | | - | |
6675 | | - | |
| 6682 | + | |
6676 | 6683 | | |
6677 | 6684 | | |
6678 | 6685 | | |
| |||
6778 | 6785 | | |
6779 | 6786 | | |
6780 | 6787 | | |
| 6788 | + | |
| 6789 | + | |
| 6790 | + | |
| 6791 | + | |
| 6792 | + | |
| 6793 | + | |
| 6794 | + | |
| 6795 | + | |
| 6796 | + | |
| 6797 | + | |
| 6798 | + | |
| 6799 | + | |
| 6800 | + | |
6781 | 6801 | | |
6782 | 6802 | | |
6783 | 6803 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments