[Bug 266627] stty -f <file> should be non-blocking

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 26 Sep 2022 20:59:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266627

Stefan Eßer <se@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open

--- Comment #5 from Stefan Eßer <se@FreeBSD.org> ---
(In reply to Konstantin Belousov from comment #3)

Thank you for providing the patch. Sadly, it does only address part of the
issue:

 $ stty -f /dev/tty sane &
 [1] 3355
 $ fg
 stty -f /dev/tty sane
 stty: tcsetattr: Interrupted system call
 $

The error code is returned, but the system call is still blocking.

-- 
You are receiving this mail because:
You are the assignee for the bug.