This is an archive of the discontinued LLVM Phabricator instance.

sanitizer_common: fix up onprint.cpp test more
ClosedPublic

Authored by dvyukov on Oct 29 2021, 2:47 AM.

Details

Summary

D112630 ("sanitizer_common: fix up onprint.cpp test")
added O_CREAT, but we also need O_TRUNC b/c the file
may not exist, or may exist as well.

Diff Detail

Event Timeline

dvyukov requested review of this revision.Oct 29 2021, 2:47 AM
dvyukov created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptOct 29 2021, 2:47 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
melver accepted this revision.Oct 29 2021, 3:01 AM
This revision is now accepted and ready to land.Oct 29 2021, 3:01 AM
This revision was automatically updated to reflect the committed changes.