Skip to content

Commit 97ce4a6

Browse files
author
Tony Tao
committed
Fix test failure on Windows
1 parent ef66e2d commit 97ce4a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Support/VirtualOutputBackends.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ static sys::fs::OpenFlags generateFlagsFromConfig(OutputConfig Config) {
260260
OF |= sys::fs::OF_TextWithCRLF;
261261
else if (Config.getText())
262262
OF |= sys::fs::OF_Text;
263-
if (Config.getAppend())
263+
if (Config.getAppend() && !Config.getAtomicWrite())
264264
OF |= sys::fs::OF_Append;
265265

266266
return OF;

0 commit comments

Comments
 (0)