https://issues.dlang.org/show_bug.cgi?id=14110

          Issue ID: 14110
           Summary: std.file.read cannot read files open for writing
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: Phobos
          Assignee: [email protected]
          Reporter: [email protected]

On Windows, std.file.read will fail to read files that are already open for
writing (usually by another process).

This is an issue when trying e.g. to read a log file that is still being
written.

Programs such as Notepad, Internet Explorer, Firefox all succeed in opening the
file, so D's behavior is unusual.

--

Reply via email to