Date: Fri, 29 Nov 2024 15:26:28 +0000 From: bugzilla-noreply@freebsd.org To: standards@FreeBSD.org Subject: [Bug 283014] POSIX issue 7: fileno should be able to fail with EBADF Message-ID: <bug-283014-99-rbvCIDQH8e@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-283014-99@https.bugs.freebsd.org/bugzilla/> References: <bug-283014-99@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=3D283014 --- Comment #4 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D7cd756ff4fe7e65a9a3f588904998bf6f= 4b37623 commit 7cd756ff4fe7e65a9a3f588904998bf6f4b37623 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2024-11-28 22:12:29 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2024-11-29 15:25:32 +0000 fileno(3): set errno when returning -1 as required by IEEE Std 1003.1=E2=84=A2-2024. PR: 283014 Reported by: Graham Percival <gperciva@tarsnap.com> Reviewed by: emaste, imp Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D47834 include/stdio.h | 4 ---- lib/libc/stdio/ferror.3 | 20 ++++++++++++++++++-- lib/libc/stdio/fileno.c | 25 ++++++++++++++++++++----- 3 files changed, 38 insertions(+), 11 deletions(-) --=20 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-283014-99-rbvCIDQH8e>