[PATCH] D62718: [llvm-objcopy] Change output file permissions to be the same as the input file
    Alex Brachet via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Jun  5 22:55:26 PDT 2019
    
    
  
abrachet updated this revision to Diff 203286.
abrachet added a comment.
Changed restoreDateOnFile to a more general restoreStatOnFile which also handles permissions. New archive members also get their permissions set based on isExecutableFile()
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62718/new/
https://reviews.llvm.org/D62718
Files:
  llvm/test/tools/llvm-objcopy/ELF/execute-permissions.test
  llvm/test/tools/llvm-objcopy/ELF/invalid-preserve-dates.test
  llvm/test/tools/llvm-objcopy/ELF/respect-umask.test
  llvm/tools/llvm-objcopy/Buffer.cpp
  llvm/tools/llvm-objcopy/llvm-objcopy.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62718.203286.patch
Type: text/x-patch
Size: 8243 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190606/ac4223de/attachment.bin>
    
    
More information about the llvm-commits
mailing list