Anonymous | Login | 2023-12-05 12:25 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 | ||
0001027 | [1003.1(2013)/Issue7+TC1] System Interfaces | Objection | Error | 2016-02-17 10:16 | 2020-04-14 15:07 | ||
Reporter | geoffclare | View Status | public | ||||
Assigned To | |||||||
Priority | high | Resolution | Accepted As Marked | ||||
Status | Applied | ||||||
Name | Geoff Clare | ||||||
Organization | The Open Group | ||||||
User Reference | |||||||
Section | fseek, ftell | ||||||
Page Number | 946, 965 | ||||||
Line Number | 31911, 32581 | ||||||
Interp Status | Approved | ||||||
Final Accepted Text | See Note: 0003109 | ||||||
Summary | 0001027: file-position indicator for open_wmemstream() streams | ||||||
Description |
The descriptions of fseek() and ftell() say that the file-position indicator is "measured in bytes from the beginning of the file". However, for streams opened with open_wmemstream() it is supposed to measure the number of wide characters, not the number of bytes. (This is how glibc behaves, and the standard's requirements for the behaviour of open_wmemstream() when it was added in SUSv4 were intended to match glibc.) |
||||||
Desired Action |
On Page: 946 Line: 31911 Section: fseek() Change from: The new position, measured in bytes from the beginning of the file, shallto: The new position, measured in bytes from the beginning of the file, [CX]except in the case of streams opened with open_wmemstream() for which the position is measured in wide characters,[/CX] shall On Page: 965 Line: 32581 Section: ftell() Change from: measured in bytes from the beginning of the fileto: measured in bytes from the beginning of the file, [CX]except in the case of streams opened with open_wmemstream() for which the position is measured in wide characters.[/CX] On Page: 947 Line: 31981 Section: fseek() and Page: 965 Line: 32600 Section: ftell() Add open_wmemstream to the SEE ALSO section. |
||||||
Tags | issue8 | ||||||
Attached Files | |||||||
|
![]() |
|||
Date Modified | Username | Field | Change |
2016-02-17 10:16 | geoffclare | New Issue | |
2016-02-17 10:16 | geoffclare | Name | => Geoff Clare |
2016-02-17 10:16 | geoffclare | Organization | => The Open Group |
2016-02-17 10:16 | geoffclare | Section | => fseek, ftell |
2016-02-17 10:16 | geoffclare | Page Number | => 946, 965 |
2016-02-17 10:16 | geoffclare | Line Number | => 31911, 32581 |
2016-02-17 10:16 | geoffclare | Interp Status | => --- |
2016-03-24 16:21 | rhansen | Note Added: 0003109 | |
2016-03-24 16:21 | rhansen | Tag Attached: issue8 | |
2016-03-24 16:22 | rhansen | Interp Status | --- => Pending |
2016-03-24 16:22 | rhansen | Final Accepted Text | => See Note: 0003109 |
2016-03-24 16:22 | rhansen | Status | New => Interpretation Required |
2016-03-24 16:22 | rhansen | Resolution | Open => Accepted As Marked |
2016-03-25 17:08 | ajosey | Interp Status | Pending => Proposed |
2016-03-25 17:08 | ajosey | Note Added: 0003111 | |
2016-04-30 05:18 | ajosey | Interp Status | Proposed => Approved |
2016-04-30 05:18 | ajosey | Note Added: 0003188 | |
2020-04-14 15:07 | geoffclare | Status | Interpretation Required => Applied |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |