[llvm] r184630 - Create the file with the right permissions instead of setting it afterwards.

Rafael Espíndola rafael.espindola at gmail.com
Mon Jun 24 07:25:29 PDT 2013


On 21 June 2013 22:39, 罗勇刚(Yonggang Luo) <luoyonggang at gmail.com> wrote:
> Is that 0666 are a bit magic?
> and portable across different platform?

Yes, the interface uses the same values as chmod. Since it is so
common, 0666 seemed better than 'owner_read | owner_write | group_read
| group_write | others_read | others_write', but I can change to that
if 0666 is considered too magical.

Cheers,
Rafael




More information about the llvm-commits mailing list