View Issue Details

IDProjectCategoryView StatusLast Update
00019061003.1(2024)/Issue8Base Definitions and Headerspublic2025-02-13 16:54
Reportercollinfunk Assigned To 
PrioritynormalSeverityEditorialTypeOmission
Status ResolvedResolutionAccepted As Marked 
NameCollin Funk
OrganizationGNU
User Reference
Sectionunistd.h
Page Number479
Line Number16883-16915
Interp Status---
Final Accepted Text0001906:0007066
Summary0001906: Mention O_CLOEXEC and O_CLOFORK in the unistd.h change history.
DescriptionIn 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 ActionAdd 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>.
Tagstc1-2024

Relationships

related to 0000598 Closedajosey 1003.1(2008)/Issue 7 OH shading and new interfaces 

Activities

geoffclare

2025-02-13 10:49

manager   bugnote:0007066

Last edited: 2025-02-13 10:50

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 applied
to:
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>.


Issue History

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