Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions std/stdio.d
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ $(D rawRead) always reads in binary mode on Windows.
T[] rawRead(T)(T[] buffer)
{
enforce(buffer.length, "rawRead must take a non-empty buffer");
version(Win32)
version(Windows)
{
immutable fd = ._fileno(_p.handle);
immutable mode = ._setmode(fd, _O_BINARY);
Expand Down Expand Up @@ -602,7 +602,6 @@ Throws: $(D ErrnoException) if the file is not opened or if the call to $D(fread
_name, "'"));
}

version(Win64) {} else
unittest
{
auto deleteme = testFilename();
Expand Down Expand Up @@ -636,7 +635,6 @@ Throws: $(D Exception) if the file is not opened.
}
}

version(Win64) {} else
unittest
{
auto deleteme = testFilename();
Expand Down