<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>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. (<a href="rdar://8392711&8294781">rdar://8392711&8294781</a>)</div><div><br></div><div>Please review.</div><div><br></div><div>-Argiris</div><div><br></div><div><br></div></body></html>