Skip to content

Commit

Permalink
patched fdset call in osproc
Browse files Browse the repository at this point in the history
  • Loading branch information
onionhammer committed Oct 11, 2014
1 parent aac8de6 commit 09f177e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pure/osproc.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 09f177e

Please sign in to comment.