Austin Group Defect Tracker

Aardvark Mark IV

Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0001769 [Issue 8 drafts] System Interfaces Objection Error 2023-07-24 09:25 2024-06-11 09:12
Reporter geoffclare View Status public  
Assigned To
Priority normal Resolution Accepted  
Status Closed   Product Version Draft 3
Name Geoff Clare
Organization The Open Group
User Reference
Section fputwc()
Page Number 1009
Line Number 34638
Final Accepted Text
Summary 0001769: CX shading needed for fputwc() EILSEQ error indicator requirement
Description As a result of our liaison with the C committee regarding bug 0001022, C17 added a requirement for the stream error indicator to be set on fgetwc() EILSEQ errors. However, it not do the same for fputwc().

We raised this in a C23 ballot comment and the committee agreed to add the requirement to fputwc() in C23.

Since Issue 8 will reference C17, we need to add CX shading to the requirement; we should also mention the expected C23 change in rationale.
Desired Action Change:
Otherwise, it shall return WEOF, the error indicator for the stream shall be set, [CX]and errno shall be set to indicate the error[/CX].
Otherwise, it shall return WEOF, [CX]errno shall be set to indicate the error[/CX], and for errors other than [EILSEQ] the error indicator for the stream shall be set; [CX]the error indicator for the stream shall also be set for [EILSEQ] errors.[/CX]

On page 1010 line 34672 section fputwc(), change RATIONALE from "None" to:
The requirement to set the error indicator for the stream on [EILSEQ] errors is CX shaded because the ISO C standard does not require it to be set for fputwc() encoding errors, although it does for fgetwc(). The next revision of the ISO C standard is expected to address this inconsistency by requiring the error indicator for the stream to be set for fputwc() encoding errors.

Tags applied_after_i8d3, issue8
Attached Files

- Relationships
related to 0001022Closed 1003.1(2013)/Issue7+TC1 error indicator for encoding errors in fgetwc(3) 

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2023-07-24 09:25 geoffclare New Issue
2023-07-24 09:25 geoffclare Name => Geoff Clare
2023-07-24 09:25 geoffclare Organization => The Open Group
2023-07-24 09:25 geoffclare Section => fputwc()
2023-07-24 09:25 geoffclare Page Number => 1009
2023-07-24 09:25 geoffclare Line Number => 34638
2023-07-24 09:25 geoffclare Relationship added related to 0001022
2023-07-27 15:13 Don Cragun Status New => Resolved
2023-07-27 15:13 Don Cragun Resolution Open => Accepted
2023-07-27 15:13 Don Cragun Tag Attached: issue8
2023-08-22 14:48 geoffclare Status Resolved => Applied
2023-08-22 14:48 geoffclare Tag Attached: applied_after_i8d3
2024-06-11 09:12 agadmin Status Applied => Closed

Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker