From 51126779048e5a97f210b4ec31a0db118637fb3b Mon Sep 17 00:00:00 2001 From: Araq Date: Mon, 29 Aug 2011 01:13:38 +0200 Subject: attempt to fix tester.nim file handle leak --- tests/tester.nim | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/tester.nim') diff --git a/tests/tester.nim b/tests/tester.nim index df01c8de3..1981dd066 100755 --- a/tests/tester.nim +++ b/tests/tester.nim @@ -123,6 +123,7 @@ proc callCompiler(cmdTemplate, filename, options: string): TSpec = if x =~ pegOfInterest: # `s` should contain the last error message s = x + close(p) result.msg = "" result.file = "" result.outp = "" -- cgit 1.4.1-2-gfad0