tester checks exitcode; osproc additions; DLL fixes; taint mode fixes

This commit is contained in:
Araq 2011-11-07 23:25:34 +01:00
commit 0b4d5e45b9
13 changed files with 210 additions and 81 deletions

View file

@ -969,7 +969,7 @@ proc transformFile*(infile, outfile: string,
## reads in the file `infile`, performs a parallel replacement (calls
## `parallelReplace`) and writes back to `outfile`. Raises ``EIO`` if an
## error occurs. This is supposed to be used for quick scripting.
var x = readFile(infile)
var x = readFile(infile).string
writeFile(outfile, x.parallelReplace(subs))
iterator split*(s: string, sep: TPeg): string =