Skip to content

Commit

Permalink
Added a couple of missing close statements
Browse files Browse the repository at this point in the history
Could cause problems on systems where the number of open fh's per process
was set too low, e.g. 1024
  • Loading branch information
Jan-Olof Hendig committed Jun 21, 2018
1 parent 6e4c16e commit 33a4b40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xt/examples-compilation.t
Expand Up @@ -112,6 +112,8 @@ for @examples -> $eg {
temp $*ERR = open :w, $*SPEC.devnull;
try EVAL $code;
$status = $!;
close $*OUT;
close $*ERR;
}
todo(1) if $eg<todo>;
if $status {
Expand Down

0 comments on commit 33a4b40

Please sign in to comment.