View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000307 | 1003.1(2008)/Issue 7 | Base Definitions and Headers | public | 2010-09-10 15:01 | 2013-04-16 13:06 |
Reporter | geoffclare | Assigned To | ajosey | ||
Priority | normal | Severity | Comment | Type | Omission |
Status | Closed | Resolution | Accepted As Marked | ||
Name | Geoff Clare | ||||
Organization | The Open Group | ||||
User Reference | |||||
Section | fcntl.h | ||||
Page Number | 239 | ||||
Line Number | 7855 | ||||
Interp Status | --- | ||||
Final Accepted Text | See 0000307:0000559 | ||||
Summary | 0000307: O_CREAT with O_SEARCH | ||||
Description | The standard doesn't say what happens if O_CREAT is used with O_SEARCH. The description of O_SEARCH does say "The result is unspecified if this flag is applied to a non-directory file" and this could, at a stretch, be interpreted as applying to an attempt to create a (non-directory) file with O_CREAT, but it would be better to mention O_CREAT explicitly. | ||||
Desired Action | Change The result is unspecified if this flag is applied to a non-directory file. to The result is unspecified if this flag is applied to a non-directory file or is used with O_CREAT. Cross-volume change to XSH... Make the same change at page 1379 line 45187 section open. | ||||
Tags | tc1-2008 |
|
Add the following text to the end of the first paragraph of RATIONALE at the end of P1385, L45427: "Not all combinations of flags make sense. For example, using O_SEARCH | O_CREAT will successfully open a pre-existing directory for searching, but if there is no existing file by that name, then it is unspecified whether a regular file will be created. Likewise, if a non-directory file descriptor is successfully returned, it is unspecified whether that descriptor will have execute permissions as if by O_EXEC (note that it is unspecified whether O_EXEC and O_SEARCH have the same value)." And then move the entire paragraph from RATIONALE to APPLICATION USAGE after P1385, L45424. |
Date Modified | Username | Field | Change |
---|---|---|---|
2010-09-10 15:01 | geoffclare | New Issue | |
2010-09-10 15:01 | geoffclare | Status | New => Under Review |
2010-09-10 15:01 | geoffclare | Assigned To | => ajosey |
2010-09-10 15:01 | geoffclare | Name | => Geoff Clare |
2010-09-10 15:01 | geoffclare | Organization | => The Open Group |
2010-09-10 15:01 | geoffclare | Section | => fcntl.h |
2010-09-10 15:01 | geoffclare | Page Number | => 239 |
2010-09-10 15:01 | geoffclare | Line Number | => 7855 |
2010-09-10 15:01 | geoffclare | Interp Status | => --- |
2010-09-23 16:27 | Don Cragun | Note Added: 0000559 | |
2010-09-23 16:34 | Don Cragun | Note Edited: 0000559 | |
2010-09-23 16:36 | Don Cragun | Tag Attached: tc1-2008 | |
2010-09-23 16:37 | Don Cragun | Final Accepted Text | => See 0000307:0000559 |
2010-09-23 16:37 | Don Cragun | Status | Under Review => Resolved |
2010-09-23 16:37 | Don Cragun | Resolution | Open => Accepted As Marked |
2013-04-16 13:06 | ajosey | Status | Resolved => Closed |