https://issues.dlang.org/show_bug.cgi?id=16218
Issue ID: 16218
Summary: Windows std.file.readImpl should be marked @system
Product: D
Version: D2
Hardware: x86
OS: Mac OS X
Status: NEW
Keywords: safe
Severity: enhancement
Priority: P1
Component: phobos
Assignee: [email protected]
Reporter: [email protected]
For some reason, the function is split into 90% islands of @trusted code, there
is very little actual @safe code in there. In addition, the function shouldn't
actually be @trusted, as it takes a null-terminated string. Better to mark it
@system, and mark the uses of it @trusted (or mark the whole thing @trusted,
and change the API to take a string array).
--