Closed natevw closed 9 years ago
It is not proper to pass a buffer directly into tm_log, this fixes a segfault when piping (or simply writing buffers) to process.stdout.
process.stdout
Wrong approach: the right fix would be to have tm_log support binary data (i.e. colony_toconstbuffer) — otherwise you can't pipe out binary data. Related: #319
colony_toconstbuffer
lgtm!
Approved by @natevw. Running tests.
It is not proper to pass a buffer directly into tm_log, this fixes a segfault when piping (or simply writing buffers) to
process.stdout
.