Skip to content

Commit 33a4b40

Browse files
author
Jan-Olof Hendig
committed
Added a couple of missing close statements
Could cause problems on systems where the number of open fh's per process was set too low, e.g. 1024
1 parent 6e4c16e commit 33a4b40

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

xt/examples-compilation.t

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ for @examples -> $eg {
112112
temp $*ERR = open :w, $*SPEC.devnull;
113113
try EVAL $code;
114114
$status = $!;
115+
close $*OUT;
116+
close $*ERR;
115117
}
116118
todo(1) if $eg<todo>;
117119
if $status {

0 commit comments

Comments
 (0)