parent
2c10b246ec
commit
9b949855c7
2 changed files with 3 additions and 1 deletions
|
|
@ -11,6 +11,8 @@
|
||||||
then you need to change that to `rfind X, last=N` or `rfind X, 0, N`. (This
|
then you need to change that to `rfind X, last=N` or `rfind X, 0, N`. (This
|
||||||
should minimize gotchas porting code from other languages like Python or C++.)
|
should minimize gotchas porting code from other languages like Python or C++.)
|
||||||
|
|
||||||
|
- On Windows stderr/stdout/stdin are not opened as binary files anymore. Use the switch
|
||||||
|
`-d:nimBinaryStdFiles` for a transition period.
|
||||||
|
|
||||||
### Breaking changes in the standard library
|
### Breaking changes in the standard library
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -569,7 +569,7 @@ when declared(stdout):
|
||||||
releaseSys echoLock
|
releaseSys echoLock
|
||||||
|
|
||||||
|
|
||||||
when defined(windows) and not defined(nimscript):
|
when defined(windows) and not defined(nimscript) and defined(nimBinaryStdFiles):
|
||||||
# work-around C's sucking abstraction:
|
# work-around C's sucking abstraction:
|
||||||
# BUGFIX: stdin and stdout should be binary files!
|
# BUGFIX: stdin and stdout should be binary files!
|
||||||
proc c_setmode(handle, mode: cint) {.
|
proc c_setmode(handle, mode: cint) {.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue