diff options
author | dom96 <dominikpicheta@googlemail.com> | 2012-01-22 16:21:05 +0000 |
---|---|---|
committer | dom96 <dominikpicheta@googlemail.com> | 2012-01-22 16:21:05 +0000 |
commit | b298b07567e683de0b82b20f67fd661773edde30 (patch) | |
tree | 1eba4ebbf705591868fa768e35214dd0a5716dc2 /lib/pure/osproc.nim | |
parent | e92693ec8df1c6b2e4a833e72e18037cd9880b8c (diff) | |
download | Nim-b298b07567e683de0b82b20f67fd661773edde30.tar.gz |
Added asyncio module; irc, scgi and the ftpclient modules work with it. Added (de)allocCStringArray. Many async sockets fixes.
Diffstat (limited to 'lib/pure/osproc.nim')
-rwxr-xr-x | lib/pure/osproc.nim | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/pure/osproc.nim b/lib/pure/osproc.nim index 7ee43c565..2ed435b07 100755 --- a/lib/pure/osproc.nim +++ b/lib/pure/osproc.nim @@ -487,13 +487,6 @@ elif not defined(useNimRtl): result[i] = cast[cstring](alloc(x.len+1)) copyMem(result[i], addr(x[0]), x.len+1) inc(i) - - proc deallocCStringArray(a: cstringArray) = - var i = 0 - while a[i] != nil: - dealloc(a[i]) - inc(i) - dealloc(a) proc startProcess(command: string, workingDir: string = "", |