Created on 2014-01-20.00:00:00 last changed 89 months ago
Proposed resolution:
Change 15.27 [fs.op.read_symlink]:Returns: If
p
resolves to a symbolic link, apath
object containing the contents of that symbolic link.OtherwiseThe signature with argumentpath()
.ec
returnspath()
if an error occurs.Throws: As specified in Error reporting. [Note: It is an error if
p
does not resolve to a symbolic link. — end note]
[ 2014-02-13 LWG/SG-3 Issaquah: Proposed wording accepted. ]
[ 2014-02-09, Beman Dawes provides wording ]
Addresses: filesys.ts
Unclear semantics of read_symlink on error: 15.27 [fs.op.read_symlink] has: Returns: If p resolves to a symbolic link, a path object containing the contents of that symbolic link. Otherwise path(). and also [Note: It is an error if p does not resolve to a symbolic link. -- end note]
I do not believe path() can be a valid return for the overload not taking error_code.
Strike "Otherwise path()."
History | |||
---|---|---|---|
Date | User | Action | Args |
2017-07-30 20:10:41 | admin | set | status: wp -> open |
2016-01-28 01:00:35 | admin | set | messages: + msg7792 |
2016-01-28 01:00:35 | admin | set | messages: + msg7791 |
2016-01-28 01:00:35 | admin | set | messages: + msg7790 |
2014-01-20 00:00:00 | admin | create |