This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of TS status.

2605. [filesys.ts] [PDTS] Parent of root directory unspecified

Section: 8.1 [filesys.ts::path.generic] Status: TS Submitter: CH-4 Opened: 2014-01-20 Last modified: 2017-07-30

Priority: Not Prioritized

View all issues with TS status.


Addresses: filesys.ts

8.1 [path.generic] says: "The filename dot-dot is treated as a reference to the parent directory." So it must be specified what "/.." and "/../.." refer to.

Add a statement what the parent directory of the root directory is.

[2014-02-07, Beman Dawes suggests wording]

[ 2014-02-11 Issaquah: Implementation defined. See wiki notes for rationale. Beman to provide wording for review next meeting. ]

[ 2014-05-22 Beman provides wording, taken directly from POSIX. See ]

Proposed resolution:

  1. Change 8.1 [path.generic]:

    The filename dot is treated as a reference to the current directory. The filename dot-dot is treated as a reference to the parent directory. What the filename dot-dot refers to relative to root-directory is implementation-defined. Specific filenames may have special meanings for a particular operating system.