View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001350 | Issue 8 drafts | Base Definitions and Headers | public | 2020-06-26 15:57 | 2024-06-11 09:12 |
Reporter | geoffclare | Assigned To | |||
Priority | normal | Severity | Objection | Type | Error |
Status | Closed | Resolution | Accepted | ||
Product Version | Draft 1 | ||||
Name | Geoff Clare | ||||
Organization | The Open Group | ||||
User Reference | |||||
Section | <stdlib.h> | ||||
Page Number | 351 | ||||
Line Number | 12251 | ||||
Final Accepted Text | |||||
Summary | 0001350: O_* constants needed in <stdlib.h> for mkostemp() | ||||
Description | This line:The <stdlib.h> header shall define O_CLOEXEC, O_NOCTTY, and O_RDWR as described in <fcntl.h>.was added by bug 0000593 with XSI shading because posix_openpt() is XSI. However, O_CLOEXEC is also needed by mkostemp() which is mandatory. Several other constants are also needed by mkostemp(). | ||||
Desired Action | On page 351 line 12251 section <stdlib.h>, change:[XSI]The <stdlib.h> header shall define O_CLOEXEC, O_NOCTTY, and O_RDWR as described in <fcntl.h>.[/XSI]to: The <stdlib.h> header shall define the following symbolic constants as described in <fcntl.h>: On page 1283 line 43031 section mkdtemp(), change: contain additional flags (from <fcntl.h>) to be usedto: contain additional flags to be used | ||||
Tags | issue8 |
|
0000598 reported the same issue already but was not resolved yet. As reported there dup3() from <unistd.h> also has this issue (it needs O_CLOEXEC and O_CLOFORK). |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-06-26 15:57 | geoffclare | New Issue | |
2020-06-26 15:57 | geoffclare | Name | => Geoff Clare |
2020-06-26 15:57 | geoffclare | Organization | => The Open Group |
2020-06-26 15:57 | geoffclare | Section | => <stdlib.h> |
2020-06-26 15:57 | geoffclare | Page Number | => 351 |
2020-06-26 15:57 | geoffclare | Line Number | => 12251 |
2020-06-26 15:59 | geoffclare | Desired Action Updated | |
2020-06-26 16:00 | geoffclare | Relationship added | related to 0000593 |
2020-06-26 16:01 | geoffclare | Relationship added | related to 0000411 |
2020-06-28 15:35 | dennisw | Note Added: 0004889 | |
2020-09-03 15:14 | Don Cragun | Status | New => Resolved |
2020-09-03 15:14 | Don Cragun | Resolution | Open => Accepted |
2020-09-03 15:14 | Don Cragun | Tag Attached: issue8 | |
2020-09-03 15:25 | geoffclare | Relationship added | related to 0000598 |
2020-09-16 10:15 | geoffclare | Status | Resolved => Applied |
2024-06-11 09:12 | agadmin | Status | Applied => Closed |