summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorFabian Keller <bluenote10@users.noreply.github.com>2017-02-24 09:48:38 +0100
committerAndreas Rumpf <rumpf_a@web.de>2017-02-24 09:48:38 +0100
commite8ad59fdc497843e712583cba03cfd1809124bfb (patch)
tree89843d33eafbfc71b362265bf3ff62dd182ad23b /lib
parent2d546ca0ac80486b8f31e389ef19e4d65093a1fa (diff)
downloadNim-e8ad59fdc497843e712583cba03cfd1809124bfb.tar.gz
Bugfix/double newlines in stderr (#5426)
Diffstat (limited to 'lib')
-rw-r--r--lib/system.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/system.nim b/lib/system.nim
index bab5369f1..6388e278e 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -2743,6 +2743,7 @@ when not defined(JS): #and not defined(nimscript):
       # we use binary mode on Windows:
       c_setmode(c_fileno(stdin), O_BINARY)
       c_setmode(c_fileno(stdout), O_BINARY)
+      c_setmode(c_fileno(stderr), O_BINARY)
 
     when defined(endb):
       proc endbStep()