summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorErik O'Leary <erik.m.oleary@gmail.com>2014-10-10 22:49:44 -0500
committerErik O'Leary <erik.m.oleary@gmail.com>2014-10-10 22:49:44 -0500
commit09f177e0ccdea872fb560e834efa897030cb06de (patch)
tree7ea9f5b457162923a8c12b549f304da90cca2b88 /lib/pure
parentaac8de6b4c9e57bac9367b585d22da8afc7849f1 (diff)
downloadNim-09f177e0ccdea872fb560e834efa897030cb06de.tar.gz
patched fdset call in osproc
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/osproc.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/osproc.nim b/lib/pure/osproc.nim
index f47df73ca..0557b26f7 100644
--- a/lib/pure/osproc.nim
+++ b/lib/pure/osproc.nim
@@ -887,7 +887,7 @@ elif not defined(useNimRtl):
     FD_ZERO(fd)
     for i in items(s):
       m = max(m, int(i.outHandle))
-      fdSet(cint(i.outHandle), fd)
+      FD_SET(cint(i.outHandle), fd)
 
   proc pruneProcessSet(s: var seq[Process], fd: var TFdSet) =
     var i = 0