[libFuzzer][Windows] Clean up RawPrint

Summary:
Use `_write` instead of the deprecated alias `write` on Windows.
Also, remove comment saying RawPrint is untested on Windows.

Reviewers: vitalybuka

Reviewed By: vitalybuka

Subscribers: vitalybuka

Differential Revision: https://reviews.llvm.org/D57589

llvm-svn: 353108
This commit is contained in:
Jonathan Metzman 2019-02-04 23:01:06 +00:00
parent 8a59b1919c
commit 7c907bac6f
1 changed files with 1 additions and 2 deletions

View File

@ -333,8 +333,7 @@ bool IsInterestingCoverageFile(const std::string &FileName) {
}
void RawPrint(const char *Str) {
// Not tested, may or may not work. Fix if needed.
write(2, Str, strlen(Str));
_write(2, Str, strlen(Str));
}
} // namespace fuzzer