Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 2014 20:47:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 191931] isatty(-1)/ttyname_r(-1, ...) sets EBADF instead of ENOTTY; does not conform to manpage/POSIX
Message-ID:  <bug-191931-8-IzfwEh6Lee@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191931-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-191931-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191931

Jilles Tjoelker <jilles@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Triage                |Issue Resolved
                 CC|                            |jilles@FreeBSD.org
         Resolution|---                         |Works As Intended

--- Comment #1 from Jilles Tjoelker <jilles@FreeBSD.org> ---
This looks like a bug in the standard that was fixed for POSIX.1-2008/SUSv4,
which has the expected [EBADF] (invalid file descriptor) and [ENOTTY] (not a
terminal) error conditions. According to the change history, the erratum is
SD5-XSH-ERN-100.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191931-8-IzfwEh6Lee>