I have a question about ErrnoException. When I throw it (throw
new ErrnoException()), won't it overwrite the errno value before
it can capture it?
On Sunday, 28 February 2016 at 14:59:22 UTC, Mike Parker wrote:
On Sunday, 28 February 2016 at 13:10:20 UTC, Jirka wrote:
I have a question about ErrnoException. When I throw it (throw
new ErrnoException()), won't it overwrite the errno value
before it can capture it?
Its constructor [1] simp
On Monday, 29 February 2016 at 23:41:51 UTC, Chris Wright wrote:
On Mon, 29 Feb 2016 21:55:49 +, Jirka wrote:
Yes, that I understand, but the "new" operator can lead to
other system calls (?), could they overwrite it?
Yes. Most obviously, the GC uses malloc, which will set errno
to ENOME