patched fdset call in osproc

This commit is contained in:
Erik O'Leary
2014-10-10 22:49:44 -05:00
parent aac8de6b4c
commit 09f177e0cc

View File

@@ -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