On 7/25/17 2:14 PM, Andrei Alexandrescu wrote:
On 07/25/2017 12:14 PM, Kagamin wrote:While we're at it, check this: https://github.com/dlang/druntime/blob/master/src/core/stdc/stdio.d#L1047That might be a mistake. Is fclose(f); getc(f); defined? -- Andrei
fclose is not @safe.The charter of @safe (or @trusted in this case) is to assume valid pointers for parameters.
-Steve