Austin Group Defect Tracker

Aardvark Mark IV


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0000139 [1003.1(2008)/Issue 7] Base Definitions and Headers Objection Error 2009-08-31 14:00 2013-04-16 13:06
Reporter eblake View Status public  
Assigned To ajosey
Priority normal Resolution Accepted  
Status Closed  
Name Eric Blake
Organization N/A
User Reference ebb.PATH
Section 8.3
Page Number 178
Line Number 5674
Interp Status Approved
Final Accepted Text Note: 0000231
Summary 0000139: PATH needs same // treatment as CDPATH
Description The 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 Action At 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>.
Tags tc1-2008
Attached Files

- Relationships

-  Notes
(0000231)
ajosey (manager)
2009-09-17 15:42

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 => Note: 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


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker