This repository was archived by the owner on Feb 28, 2025. It is now read-only.
Commit c0c9575
committed
(toggle_subshell): fix possible race condition on SIGWINCH handling.
If a SIGWINCH were handled after setting was_sigwinch to 0 but before
flushing the pipe, the SIGWINCH would be missed.
Fix that using return value of tty_flush_winch().
Thanks Michael Gold <michael@bitplane.org>.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>1 parent 81f3331 commit c0c9575
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
550 | | - | |
551 | | - | |
| 550 | + | |
552 | 551 | | |
553 | 552 | | |
554 | 553 | | |
| |||
0 commit comments