* [musl] WG14 hasn't fixed the ferror status issue for fputwc EILSEQ yet?
@ 2023-03-20 20:23 Rich Felker
2023-03-20 20:26 ` Gabriel Ravier
0 siblings, 1 reply; 3+ messages in thread
From: Rich Felker @ 2023-03-20 20:23 UTC (permalink / raw)
To: musl; +Cc: Jₑₙₛ Gustedt
The issue for fgetwc has been fixed according to the discussion here:
https://austingroupbugs.net/view.php?id=1022
and indeed is fixed in the C2x draft. But the corresponding issue for
fputwc is not fixed. POSIX still requires setting the error indicator
for the stream on EILSEQ, but ISO C (by omission/accident) disallows
it.
Any chance we can get this fixed in time for C2x release?
I noticed it while fixing the wide printf error handling bugs in musl
(reported by Bruno), while trying to confirm that it's correct to rely
on the error status being set.
Rich
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [musl] WG14 hasn't fixed the ferror status issue for fputwc EILSEQ yet?
2023-03-20 20:23 [musl] WG14 hasn't fixed the ferror status issue for fputwc EILSEQ yet? Rich Felker
@ 2023-03-20 20:26 ` Gabriel Ravier
2023-03-20 21:04 ` Jens Gustedt
0 siblings, 1 reply; 3+ messages in thread
From: Gabriel Ravier @ 2023-03-20 20:26 UTC (permalink / raw)
To: musl, Rich Felker; +Cc: Jₑₙₛ Gustedt
On 3/20/23 21:23, Rich Felker wrote:
> The issue for fgetwc has been fixed according to the discussion here:
>
> https://austingroupbugs.net/view.php?id=1022
>
> and indeed is fixed in the C2x draft. But the corresponding issue for
> fputwc is not fixed. POSIX still requires setting the error indicator
> for the stream on EILSEQ, but ISO C (by omission/accident) disallows
> it.
>
> Any chance we can get this fixed in time for C2x release?
>
> I noticed it while fixing the wide printf error handling bugs in musl
> (reported by Bruno), while trying to confirm that it's correct to rely
> on the error status being set.
>
> Rich
A Defect Report to that effect can probably get in later pretty quickly
(by WG14 standards) but IIRC unless I'm wrong about how WG14 works I'm
pretty sure new proposals not directly related to national body comments
are not gonna get into C2x (and C2x national body comments have already
been made).
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [musl] WG14 hasn't fixed the ferror status issue for fputwc EILSEQ yet?
2023-03-20 20:26 ` Gabriel Ravier
@ 2023-03-20 21:04 ` Jens Gustedt
0 siblings, 0 replies; 3+ messages in thread
From: Jens Gustedt @ 2023-03-20 21:04 UTC (permalink / raw)
To: Gabriel Ravier, musl, Rich Felker
[-- Attachment #1: Type: text/plain, Size: 338 bytes --]
Hi,
There will be a second round of NB comments, so this is still possible.
I'd prefer that someone from the Austin group does that through their channels. I am not sure that we will have comments from AFNOR this time. (But who knows, we have not seen the new draft, yet)
Jens
--
Jens Gustedt - INRIA & ICube, Strasbourg, France
[-- Attachment #2: Type: text/html, Size: 427 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-03-20 21:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-20 20:23 [musl] WG14 hasn't fixed the ferror status issue for fputwc EILSEQ yet? Rich Felker
2023-03-20 20:26 ` Gabriel Ravier
2023-03-20 21:04 ` Jens Gustedt
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).