yaron.keren added a subscriber: yaron.keren. yaron.keren added a comment. When stdout goes elsewhere the console, the shell creates the the output file (pipe) and will close it when clang terminates so so why clang should close it at all ? it did not open it.
Practically, we have been running locally Error(false), UseAtomicWrites(false) { if (FD < 0 ) { ShouldClose = false; return; } if (FD <= STDERR_FILENO) ShouldClose = false; and passing regression tests on Windows 7 and Linux, maybe this is required on other usage scenarios or OS. http://reviews.llvm.org/D13128 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits