mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-08 14:03:23 +00:00
fixes #11801
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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) {.
|
||||
|
||||
Reference in New Issue
Block a user