[llvm] r185832 - Create files with the correct permission instead of changing it afterwards.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Jul 15 13:38:07 PDT 2013


> The destructor will flush buffers, which I think will change the last
> modified time. That is why I want to first destroy the stream, then
> set the last modification time then close the file descriptor. I will
> try factoring the calls to open (and the flags raw_fd_ostream
> currently uses) and see what it looks like.

Attached. What do you think?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm.patch
Type: application/octet-stream
Size: 23076 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130715/00a6b76d/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-extra.patch
Type: application/octet-stream
Size: 1036 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130715/00a6b76d/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang.patch
Type: application/octet-stream
Size: 9025 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130715/00a6b76d/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lld.patch
Type: application/octet-stream
Size: 531 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130715/00a6b76d/attachment-0003.obj>


More information about the llvm-commits mailing list