Revision e038765d17109d6f1e4226e88809a123aa3a4a07 authored by Steven Johnson on 18 April 2022, 18:20:51 UTC, committed by Steven Johnson on 18 April 2022, 18:20:51 UTC
Technically, we should check the return code of sprintf() for failure conditions. This is a minimal fix designed to quietly ensure that encoding errors aren't overlooked.

(Since our "C" output actually requires C++11 at this point, I was tempted to replace it with `ostringstream`, but decided to avoid bringing that in...)
1 parent 60a909f
History
File Mode Size
CMakeLists.txt -rw-r--r-- 290 bytes
Halide-VS2017.natvis -rw-r--r-- 2.2 KB
Halide.natvis -rw-r--r-- 1.4 KB
HalideTraceDump.cpp -rw-r--r-- 11.6 KB
HalideTraceUtils.cpp -rw-r--r-- 1.4 KB
HalideTraceUtils.h -rw-r--r-- 2.7 KB
HalideTraceViz.cpp -rw-r--r-- 55.9 KB
inconsolata.h -rw-r--r-- 228.4 KB

back to top