Check if a signal already has been received before entering a blocking
authoranton <anton@openbsd.org>
Fri, 3 Nov 2023 19:32:28 +0000 (19:32 +0000)
committeranton <anton@openbsd.org>
Fri, 3 Nov 2023 19:32:28 +0000 (19:32 +0000)
commitacbb6deec378b6fc0d456a9e25f1628759f51779
tree3b8cf9227d0fd16786f329e7e1b25c770e55f98e
parent17e3ddc9933714bd053ce70afd6d575a774aee60
Check if a signal already has been received before entering a blocking
read as opposed of only doing it afterwards. Issue uncovered by the mail
regress tests.

With claudio@ and ok millert@
usr.bin/mail/tty.c