Anonymous | Login | 2023-12-01 07:28 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||
ID | Category | Severity | Type | Date Submitted | Last Update | ||
0001249 | [1003.1(2016/18)/Issue7+TC2] System Interfaces | Objection | Error | 2019-05-10 11:21 | 2019-11-19 16:19 | ||
Reporter | geoffclare | View Status | public | ||||
Assigned To | |||||||
Priority | normal | Resolution | Accepted | ||||
Status | Applied | ||||||
Name | Geoff Clare | ||||||
Organization | The Open Group | ||||||
User Reference | |||||||
Section | fsetpos() | ||||||
Page Number | 960 | ||||||
Line Number | 32633 | ||||||
Interp Status | --- | ||||||
Final Accepted Text | |||||||
Summary | 0001249: fsetpos() "state indicator" text does not match C99 | ||||||
Description |
The description of fsetpos() says it "shall set the file position and state indicators for the stream". It is not clear what "state indicator" is intended to mean, but this text isn't shaded CX so presumably the intention is to require the same thing as C99, which is that fsetpos() sets "the mbstate_t object (if any)" for the stream. Note that "indicators" is plural because it is referring to the file position indicator and the state indicator, not because there is more than one state indicator. (I.e. it is not referring to the eof and error indicators, which a reader might otherwise assume based on the plural.) There are also some minor differences between the paragraph at line 32637 and the equivalent C99 paragraph. |
||||||
Desired Action |
On page 960 line 32633 section fsetpos(), change:The fsetpos() function shall set the file position and state indicators for the stream ...to: The fsetpos() function shall set the mbstate_t object (if any) and file position indicator for the stream ... On page 960 line 32637 section fsetpos(), change: A successful call to the fsetpos() function shall clear the end-of-file indicator for the stream and undo any effects of ungetc() on the same stream. After an fsetpos() call, the next operation on an update stream may be either input or output.to: A successful call to the fsetpos() function shall undo any effects of the ungetc() function on the stream, clear the end-of-file indicator for the stream, and then establish the new parse state and position. After a successful fsetpos() call, the next operation on an update stream can be either input or output. |
||||||
Tags | tc3-2008 | ||||||
Attached Files | |||||||
|
There are no notes attached to this issue. |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |