[PATCH] D57589: [libFuzzer][Windows] Clean up RawPrint

Jonathan Metzman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 4 15:02:22 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL353108: [libFuzzer][Windows] Clean up RawPrint (authored by metzman, committed by ).
Herald added subscribers: llvm-commits, delcypher.
Herald added a project: LLVM.

Changed prior to commit:
  https://reviews.llvm.org/D57589?vs=184751&id=185168#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57589/new/

https://reviews.llvm.org/D57589

Files:
  compiler-rt/trunk/lib/fuzzer/FuzzerIOWindows.cpp


Index: compiler-rt/trunk/lib/fuzzer/FuzzerIOWindows.cpp
===================================================================
--- compiler-rt/trunk/lib/fuzzer/FuzzerIOWindows.cpp
+++ compiler-rt/trunk/lib/fuzzer/FuzzerIOWindows.cpp
@@ -333,8 +333,7 @@
 }
 
 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57589.185168.patch
Type: text/x-patch
Size: 435 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190204/91429fff/attachment.bin>


More information about the llvm-commits mailing list