View Issue Details

IDProjectCategoryView StatusLast Update
00001391003.1(2008)/Issue 7Base Definitions and Headerspublic2013-04-16 13:06
Reportereblake Assigned Toajosey  
PrioritynormalSeverityObjectionTypeError
Status ClosedResolutionAccepted 
NameEric Blake
OrganizationN/A
User Referenceebb.PATH
Section8.3
Page Number178
Line Number5674
Interp StatusApproved
Final Accepted Text0000139:0000231
Summary0000139: PATH needs same // treatment as CDPATH
DescriptionThe dash maintainer pointed out that there is an inconsistency between PATH and CDPATH, with regards to whether a <slash> is appended when concatenating a prefix to determine a candidate name. As currently written, and assuming '/run' is an executable file, the standard requires 'PATH=/ CDPATH=/; cd dev; run' to change directories to '/dev' (not '//dev'), but attempt execution of '//run' (not '/run').

Although the standard is clear for the two behaviors (the CDPATH behavior is described in XCU line 80194), the inconsistency is gratuitous, and PATH should be updated in the same way that CDPATH was changed for POSIX 2008.
Desired ActionAt line 5674, replace the sentence:

When a nonzero-length prefix is applied to this filename, a <slash> shall be inserted between the prefix and the filename.

with:

When a nonzero-length prefix is applied to this filename, a <slash> shall be inserted between the prefix and the filename if the prefix did not end in <slash>.
Tagstc1-2008

Activities

ajosey

2009-09-17 15:42

manager   bugnote:0000231

Interpretation response
------------------------
The standard states the requirements for PATH
and conforming implementations must conform to this. However, concerns
have been raised about this which are being referred to the sponsor."

Rationale:
-------------
This is for consistency with the previous change to CDPATH made in interpretation 1003.1-2001 #199
https://www.opengroup.org/austin/interps/uploads/40/15188/AI-199.txt


Notes to the Editor (not part of this interpretation):
-------------------------------------------------------

Make the change suggested by the submitter

Issue History

Date Modified Username Field Change
2009-08-31 14:00 eblake New Issue
2009-08-31 14:00 eblake Status New => Under Review
2009-08-31 14:00 eblake Assigned To => ajosey
2009-08-31 14:00 eblake Name => Eric Blake
2009-08-31 14:00 eblake Organization => N/A
2009-08-31 14:00 eblake User Reference => ebb.PATH
2009-08-31 14:00 eblake Section => 8.3
2009-08-31 14:00 eblake Page Number => 178
2009-08-31 14:00 eblake Line Number => 5674
2009-09-17 15:42 ajosey Interp Status => Pending
2009-09-17 15:42 ajosey Note Added: 0000231
2009-09-17 15:42 ajosey Status Under Review => Interpretation Required
2009-09-17 15:42 ajosey Resolution Open => Accepted
2009-09-17 15:43 ajosey Final Accepted Text => 0000139:0000231
2009-11-07 07:35 ajosey Interp Status Pending => Proposed
2009-12-07 16:57 ajosey Interp Status Proposed => Approved
2010-09-21 11:11 geoffclare Tag Attached: tc1-2008
2013-04-16 13:06 ajosey Status Interpretation Required => Closed