aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/FileCheck/FileCheck.cpp
diff options
context:
space:
mode:
authorRonald Wampler <rdwampler@gmail.com>2020-09-28 17:07:44 -0400
committerRonald Wampler <rdwampler@gmail.com>2020-10-30 13:37:40 -0400
commit79657e2339b58bc01fe1b85a448bb073d57d90bb (patch)
tree97ac90ba4f693d92a50ac0d02cfdcfd38c3a884f /llvm/utils/FileCheck/FileCheck.cpp
parent84e8257937ec6a332aa0b688f4dce57016516ffd (diff)
downloadllvm-79657e2339b58bc01fe1b85a448bb073d57d90bb.zip
llvm-79657e2339b58bc01fe1b85a448bb073d57d90bb.tar.gz
llvm-79657e2339b58bc01fe1b85a448bb073d57d90bb.tar.bz2
[Support] PR42623: Avoid setting the delete-on-close bit if a TempFile doesn't reside on a local drive
On Windows, after commit 881ba104656c40098d4bc90c52613c08136f0fe1, tools using TempFile would error with "bad file descriptor" when writing the file on a network drive. It appears that setting the delete-on-close bit via SetFileInformationByHandle/FileDispositionInfo prevented it from accessing the file on network drives, and although using FILE_DISPOSITION_INFO seems to work, it causes other troubles. Differential Revision: https://reviews.llvm.org/D81803
Diffstat (limited to 'llvm/utils/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions