View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000486 | 1003.1(2008)/Issue 7 | System Interfaces | public | 2011-08-10 16:35 | 2011-09-01 17:55 |
Reporter | mdempsky | Assigned To | ajosey | ||
Priority | normal | Severity | Editorial | Type | Error |
Status | Closed | Resolution | Duplicate | ||
Name | Matthew Dempsky | ||||
Organization | OpenBSD | ||||
User Reference | |||||
Section | link | ||||
Page Number | 1216 | ||||
Line Number | 40135-40136 | ||||
Interp Status | --- | ||||
Final Accepted Text | |||||
Summary | 0000486: Contradictory comparison of link() and linkat() behaviors | ||||
Description | "If linkat() is passed the special value AT_FDCWD in the fd1 or fd2 parameter, the current working directory is used for the respective path argument. If both fd1 and fd2 have value AT_FDCWD, the behavior shall be identical to a call to link()." Since the latter sentence is not predicated upon the value of flag, my reading of this is that both linkat(AT_FDCWD, path1, AT_FDCWD, path2, 0) and linkat(AT_FDCWD, path1, AT_FDCWD, path2, AT_SYMLINK_FOLLOW) should be identical in behavior to link(path1, path2), which is impossible since flag==0 and flag==AT_SYMLINK_FOLLOW specify different behaviors. | ||||
Desired Action | Change "If both fd1 and fd2 have value AT_FDCWD, the behavior shall be identical to a call to link()." to "If both fd1 and fd2 have value AT_FDCWD and flag has an implementation-defined value of either 0 or AT_SYMLINK_FOLLOW, the behavior shall be identical to a call to link()." | ||||
Tags | No tags attached. |
|
This is closely related to 0000326 which is being fixed in TC1. It would be good if this additional aspect of the problem could be addressed by updating the resolution of 0000326, so that the change can be included in TC1. |
|
This was handled by changing the resolution of 0000326 as suggested in 0000486:0000940. |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-08-10 16:35 | mdempsky | New Issue | |
2011-08-10 16:35 | mdempsky | Status | New => Under Review |
2011-08-10 16:35 | mdempsky | Assigned To | => ajosey |
2011-08-10 16:35 | mdempsky | Name | => Matthew Dempsky |
2011-08-10 16:35 | mdempsky | Organization | => OpenBSD |
2011-08-10 16:35 | mdempsky | Section | => link |
2011-08-10 16:35 | mdempsky | Page Number | => http://pubs.opengroup.org/onlinepubs/9699919799/functions/link.html |
2011-08-10 16:35 | mdempsky | Line Number | => Paragraph 11 under Description |
2011-08-10 17:15 | Don Cragun | Page Number | http://pubs.opengroup.org/onlinepubs/9699919799/functions/link.html => 1216 |
2011-08-10 17:15 | Don Cragun | Line Number | Paragraph 11 under Description => 40135-40136 |
2011-08-10 17:15 | Don Cragun | Interp Status | => --- |
2011-08-15 15:20 | geoffclare | Note Added: 0000940 | |
2011-08-15 15:21 | geoffclare | Relationship added | related to 0000326 |
2011-09-01 16:33 | Don Cragun | Note Added: 0000952 | |
2011-09-01 16:33 | Don Cragun | Status | Under Review => Closed |
2011-09-01 16:33 | Don Cragun | Resolution | Open => Duplicate |
2011-09-01 17:55 | Don Cragun | Relationship replaced | duplicate of 0000326 |