We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dcc589 commit 6abbe79Copy full SHA for 6abbe79
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: b306a0d714215717c7cc2fbabd7fd74438fe77e5
+refs/heads/master: d03af073b42497c693238f1e5c25a1b5628d6af6
trunk/src/test/compiletest/compiletest.rs
@@ -748,11 +748,15 @@ mod procsrv {
748
pipe_out.out,
749
pipe_err.out);
750
let pid = with_lib_path(execparms.lib_path, spawnproc);
751
- if pid == -1 { fail; }
752
os::libc::close(pipe_in.in);
753
os::libc::close(pipe_in.out);
754
os::libc::close(pipe_out.out);
755
os::libc::close(pipe_err.out);
+ if pid == -1 {
756
+ os::libc::close(pipe_out.in);
757
+ os::libc::close(pipe_err.in);
758
+ fail;
759
+ }
760
task::send(execparms.respchan,
761
{pid: pid,
762
outfd: pipe_out.in,
0 commit comments