]> git.ipfire.org Git - thirdparty/systemd.git/commit
ptyfwd: try to drain on exit only once 35752/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 25 Dec 2024 08:38:54 +0000 (17:38 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 25 Dec 2024 08:51:42 +0000 (17:51 +0900)
commitd3218c4c80c99583d3e7a31ff2f509ffb097568e
tree8991441c2862ee4b6dad476cf21518717a92cd59
parent7647378b74a3a701bfcfea69e5b8514f32efad4b
ptyfwd: try to drain on exit only once

Reading or writing a fd may fail with EBUSY, and the loop might run
without doing mostly nothing and the event loop may finish with ELOOP.
src/shared/ptyfwd.c