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 |
2023-08-22 14:48 |
|
Reporter |
geoffclare |
View Status |
public |
|
Assigned To |
|
Priority |
normal |
Resolution |
Accepted |
|
Status |
Applied |
|
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]. to: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 |
|
|