View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001906 | 1003.1(2024)/Issue8 | Base Definitions and Headers | public | 2025-02-12 06:10 | 2025-02-13 16:54 |
Reporter | collinfunk | Assigned To | |||
Priority | normal | Severity | Editorial | Type | Omission |
Status | Resolved | Resolution | Accepted As Marked | ||
Name | Collin Funk | ||||
Organization | GNU | ||||
User Reference | |||||
Section | unistd.h | ||||
Page Number | 479 | ||||
Line Number | 16883-16915 | ||||
Interp Status | --- | ||||
Final Accepted Text | 0001906:0007066 | ||||
Summary | 0001906: Mention O_CLOEXEC and O_CLOFORK in the unistd.h change history. | ||||
Description | In POSIX Issue 8: The <unistd.h> header shall define the symbolic constants O_CLOEXEC and O_CLOFORK as described in <fcntl.h>. This is not required in POSIX Issue 7 and took me a while to notice. The closest entry in the "CHANGE HISTORY" is: Austin Group Defects 411 and 598 are applied, adding dup3() and pipe2(). Since this is the rational behind defining the flags in unistd.h. Furthermore, in POSIX Issue 8: Inclusion of the <unistd.h> header may make visible all symbols from the headers <fcntl.h>, <stddef.h>, <stdint.h>, and <stdio.h>. In POSIX Issue 7, fcntl.h was missing from this list: Inclusion of the <unistd.h> header may make visible all symbols from the headers <stddef.h>, <stdint.h>, and <stdio.h>. There was a similar change in stdlib.h that got a change in an entry in CHANGE HISTORY: Austin Group Defects 593 and 1350 are applied, adding some O_* symbolic constants and allowing <stdlib.h> to make visible all symbols from <fcntl.h>. Can something similar be added for unistd.h? I think it will make it more clear. | ||||
Desired Action | Add text similar the the following in CHANGE HISTORY for Issue 8 of unistd.h: Added the O_CLOEXEC and O_CLOFORK constants and allowing <unistd.h> to make visible all symbols from <fcntl.h>. | ||||
Tags | tc1-2024 |
|
I see what happened here. The text was added by bug 0000598, which was a tweak to the changes in bug 0000411, so when I applied it I just updated the change history line for bug 411 to say "and 598". I agree that it would be better to give details of what 598 changed. On page 479 line 16887, change: Austin Group Defects 411 and 598 are appliedto: Austin Group Defect 411 is applied After page 479 line 16890, add: Austin Group Defect 598 is applied, adding the O_CLOEXEC and O_CLOFORK constants and allowing <unistd.h> to make visible all symbols from <fcntl.h>. |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-02-12 06:10 | collinfunk | New Issue | |
2025-02-12 06:10 | collinfunk | Name | => Collin Funk |
2025-02-12 06:10 | collinfunk | Organization | => GNU |
2025-02-12 06:10 | collinfunk | Section | => unistd.h |
2025-02-12 06:10 | collinfunk | Page Number | => 479 |
2025-02-12 06:10 | collinfunk | Line Number | => 16883-16915 |
2025-02-13 10:49 | geoffclare | Note Added: 0007066 | |
2025-02-13 10:49 | geoffclare | Relationship added | related to 0000598 |
2025-02-13 10:50 | geoffclare | Note Edited: 0007066 | |
2025-02-13 16:54 | geoffclare | Interp Status | => --- |
2025-02-13 16:54 | geoffclare | Final Accepted Text | => 0001906:0007066 |
2025-02-13 16:54 | geoffclare | Status | New => Resolved |
2025-02-13 16:54 | geoffclare | Resolution | Open => Accepted As Marked |
2025-02-13 16:55 | geoffclare | Tag Attached: tc1-2024 |