This commit is contained in:
Araq
2019-08-16 15:20:39 +02:00
parent b9dd972c32
commit 39f4a3e418
2 changed files with 4 additions and 1 deletions

View File

@@ -3,6 +3,9 @@
## Changes affecting backwards compatibility
- The switch ``-d:nimBinaryStdFiles`` does not exist anymore. Instead
stdin/stdout/stderr are binary files again. This change only affects
Windows.
### Breaking changes in the standard library

View File

@@ -569,7 +569,7 @@ when declared(stdout):
releaseSys echoLock
when defined(windows) and not defined(nimscript) and defined(nimBinaryStdFiles):
when defined(windows) and not defined(nimscript):
# work-around C's sucking abstraction:
# BUGFIX: stdin and stdout should be binary files!
proc c_setmode(handle, mode: cint) {.