Export to GitHub

the-bus-pirate - issue #70

SPISniffer output is not flushed


Posted on Jan 13, 2014 by Massive Monkey

What steps will reproduce the problem? 1. Compile SPISniffer (linux-version) 2. Run it and pipe output to file or use tee

What is the expected output? What do you see instead? Output is not immediately piped into the file, instead it is buffered. It appears as though piping doesn't work at all (until presumably the buffer gets flushed).

What version of the product are you using? On what operating system? Latest, Ubuntu.

Please provide any additional information below.

I added an fflush(stdout); after the startup (after "Press ESC to stop."), and after each line of output is printed.

Status: New

Labels:
Type-Defect Priority-Medium