Created on 2014-02-28.00:00:00 last changed 90 months ago
[ Change 15.1 [fs.op.absolute]: ]
Throws:
IfAs specified in Error reporting (7).base.is_absolute()
is true, throws only if memory allocation fails.
[ 2014-03-02 Beman Dawes comments and provides P/R ]
The Throws element should follow the same form as similar Throws elements in the TS. There isn't enough special about this function to justify special wording and by referencing Error reporting (7) we ensure absolute() follows the overall policy for handling memory allocation failures.Addresses: filesys.ts
The Throws element [fs.op.absolute] says:
"If
base.is_absolute()
is true, throws only if memory allocation fails."
We can strike:
"If
base.is_absolute()
is true," and the wording will still hold. Note that:
- None of the involved functions has requirements.
- In every case potentially memory allocation occurs, even for "
return p
", so this allocation can fail.
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: + msg7907 |
2016-01-28 01:00:35 | admin | set | messages: + msg7906 |
2014-02-28 00:00:00 | admin | create |