June 16, 2022
https://issues.dlang.org/show_bug.cgi?id=23190

          Issue ID: 23190
           Summary: std.stdio.File should be usable in @safe
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: safe
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody@puremagic.com
          Reporter: su+dlangissues@angel-island.zone
            Blocks: 18110

though the documentation claims that File is a safe wrapper around equivalent c functions, several methods are not actually @safe.


Referenced Issues:

https://issues.dlang.org/show_bug.cgi?id=18110
[Issue 18110] most of phobos should be @safe-ly useable
--