commit | 338398a288cde58e30fa8a12d219f417ad13ee65 | [log] [tgz] |
---|---|---|
author | Chad Rosier <mcrosier@apple.com> | Tue Jul 05 18:55:31 2011 +0000 |
committer | Chad Rosier <mcrosier@apple.com> | Tue Jul 05 18:55:31 2011 +0000 |
tree | bc8dd0e2664aa07ee49363551109bba0a8b606ae | |
parent | 549019792a8b14500cab093ac8f3c5f7331e86d7 [diff] |
By default mkstemp() creates a temporary file with mode 0600, but the mode used for open is 0666. Therefore, add the necessary permission bits for consistency. rdar://8621462 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134430 91177308-0d34-0410-b5e6-96231b3b80d8