]> git.ipfire.org Git - thirdparty/systemd.git/commit
ptyfwd: turn off O_NONBLOCK on output after soft reset
authorMike Yuan <me@yhndnzj.com>
Mon, 22 Dec 2025 16:35:33 +0000 (17:35 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 24 Dec 2025 07:07:59 +0000 (08:07 +0100)
commit22eb3a6bd9f5d1b289ad5b5eb565dfcbbedc6d26
treee5de03a8e9c134900c24bda265a60eae557a7d6e
parent1afe5c7b4ba93dd56d65d4da44377f02613d6333
ptyfwd: turn off O_NONBLOCK on output after soft reset

Follow-up for 3d97db8f3c3e86b70d09444965ebfddd051df39c

terminal_reset_ansi_req() would try to put terminal in nonblocking
mode temporarily again, hence just avoid the back and forth
and reset nonblocking as last step.
src/shared/ptyfwd.c