[cfe-commits] [PATCH] Use temporary file for output

Argyrios Kyrtzidis kyrtzidis at apple.com
Thu Sep 16 06:30:00 PDT 2010


Attached patch uses a temporary file for output which gets renamed after all the writing is finished. This mainly prevents failures and/or crashes when multiple processes try to read/write the same PCH file. (rdar://8392711&8294781)

Please review.

-Argiris


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100916/2434d1ac/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: temp_output.diff
Type: application/octet-stream
Size: 8753 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100916/2434d1ac/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100916/2434d1ac/attachment-0001.html>


More information about the cfe-commits mailing list