diff options
author | Araq <rumpf_a@web.de> | 2013-01-08 20:03:02 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2013-01-08 20:03:02 +0100 |
commit | 3af5c99336c2454aee1d853fa7fcbbf3ce16d568 (patch) | |
tree | 6107dbd4fd30530579f39d798e3df63cccd33a3c /lib | |
parent | e6fc044107c580c056069f1a3638006e83f1360e (diff) | |
download | Nim-3af5c99336c2454aee1d853fa7fcbbf3ce16d568.tar.gz |
fixes #293
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/pure/collections/tables.nim | 2 | ||||
-rwxr-xr-x | lib/pure/osproc.nim | 8 | ||||
-rwxr-xr-x | lib/system/ansi_c.nim | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/pure/collections/tables.nim b/lib/pure/collections/tables.nim index 3b252f1d2..fc394d1f8 100755 --- a/lib/pure/collections/tables.nim +++ b/lib/pure/collections/tables.nim @@ -1,7 +1,7 @@ # # # Nimrod's Runtime Library -# (c) Copyright 2012 Andreas Rumpf +# (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this # distribution, for details about the copyright. diff --git a/lib/pure/osproc.nim b/lib/pure/osproc.nim index a8c0ea809..ecf38f9f6 100755 --- a/lib/pure/osproc.nim +++ b/lib/pure/osproc.nim @@ -1,7 +1,7 @@ # # # Nimrod's Runtime Library -# (c) Copyright 2012 Andreas Rumpf +# (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this # distribution, for details about the copyright. @@ -201,9 +201,9 @@ proc execProcesses*(cmds: openArray[string], q[r] = startCmd(cmds[i], options=options) inc(i) if i > high(cmds): break - for i in 0..m-1: - if q[i] != nil: close(q[i]) - result = max(waitForExit(q[i]), result) + for j in 0..m-1: + if q[j] != nil: close(q[j]) + result = max(waitForExit(q[j]), result) else: for i in 0..high(cmds): var p = startCmd(cmds[i], options=options) diff --git a/lib/system/ansi_c.nim b/lib/system/ansi_c.nim index 195bc2e60..f89577553 100755 --- a/lib/system/ansi_c.nim +++ b/lib/system/ansi_c.nim @@ -1,7 +1,7 @@ # # # Nimrod's Runtime Library -# (c) Copyright 2012 Andreas Rumpf +# (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this # distribution, for details about the copyright. |