Anonymous | Login | 2024-03-29 14:33 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 | ||
0000678 | [1003.1(2008)/Issue 7] Base Definitions and Headers | Editorial | Enhancement Request | 2013-04-12 22:21 | 2019-06-10 08:55 | ||
Reporter | jokearney | View Status | public | ||||
Assigned To | ajosey | ||||||
Priority | normal | Resolution | Accepted | ||||
Status | Closed | ||||||
Name | John Kearney | ||||||
Organization | |||||||
User Reference | tmpfile.iso.c | ||||||
Section | tmpfile | ||||||
Page Number | 2121 | ||||||
Line Number | 67136 | ||||||
Interp Status | --- | ||||||
Final Accepted Text | see Desired Action | ||||||
Summary | 0000678: Update tmpfile defintion to line up with ISO c88/89 c99 c11 | ||||||
Description |
http://pubs.opengroup.org/onlinepubs/9699919799/functions/tmpfile.html [^] The following is miss-leading, "The file is opened as in fopen() for update (w+)" All versions of ISO c specify that the file should be opened as binary as such it should read The file is opened as in fopen() for update (wb+). This is already implicitly the case as it defers to the ISO-C standard. |
||||||
Desired Action |
Request that the following text be updated in line with ISO C The tmpfile() function shall create a temporary file and open a corresponding stream. The file shall be automatically deleted when all references to the file are closed. The file is opened as in fopen() for update (w+), except that implementations may restrict the permissions, either by clearing the file mode bits or setting them to the value S_IRUSR | S_IWUSR. to The tmpfile() function shall create a temporary file and open a corresponding stream. The file shall be automatically deleted when all references to the file are closed. The file is opened as in fopen() for update (wb+), except that implementations may restrict the permissions, either by clearing the file mode bits or setting them to the value S_IRUSR | S_IWUSR. |
||||||
Tags | tc2-2008 | ||||||
Attached Files | |||||||
|
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |