Title
[filesys.ts] [PDTS] is_absolute() return clause confusing
Status
open
Section
[path.query]
Submitter
FI-7

Created on 2014-01-20.00:00:00 last changed 82 months ago

Messages

Date: 2016-01-28.01:00:35

Proposed resolution:

Change 8.4.10 path query [path.query]:

bool is_absolute() const;

Returns: true if the elements of root_path() uniquely identify a file system location pathname contains an absolute path (4.1 [fs.def.absolute-path]) , else false.

[Example: path("/").is_absolute() is true for POSIX based operating systems, and false for Windows based operating systems.  — end example]
Date: 2014-02-10.00:00:00

[ 2014-02-10 Beman Dawes provides wording ]

Date: 2016-01-31.20:31:05

Addresses: filesys.ts

is_absolute says: "Returns: true if the elements of root_path() uniquely identify a file system location, else false." The "uniquely identify a location" seems confusing in presence of symlinks.

Suggested action:

Clarify the returns clause so that there's no confusion about symlinks and 'location'.

History
Date User Action Args
2017-07-30 20:10:41adminsetstatus: wp -> open
2016-01-28 01:00:35adminsetmessages: + msg7755
2016-01-28 01:00:35adminsetmessages: + msg7754
2014-01-20 00:00:00admincreate