[PATCH] D64236: [llvm-objcopy] Don't change permissions of non-regular output files
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 5 00:05:54 PDT 2019
MaskRay marked an inline comment as done.
MaskRay added inline comments.
================
Comment at: lib/Support/Windows/Path.inc:773
+std::error_code setPermissions(int FD, perms Permissions) {
+ // FIXME Not implemented.
+ return std::error_code();
----------------
abrachet wrote:
> By no means a Windows expert, but it seems like [[ https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/get-osfhandle?view=vs-2019 | _get_osfhandle ]] and [[ https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-setfileinformationbyhandle | SetFileInformationByHandle ]] would be a place to start?
I don't even have a Windows for testing... I'll leave this to a Windows expert.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64236/new/
https://reviews.llvm.org/D64236
More information about the llvm-commits
mailing list