Make stdout/stderr line buffered
This improves the behaviour with print()ing for debugging, when the output is redirected to a file. I was using `setbuf(…, 0)` initially, but it makes sense to buffer it per line. This uses `setvbuf` instead of `setlinebuf`, which might not be available everywhere. Closes https://github.com/awesomeWM/awesome/pull/267
This commit is contained in:
parent
4c517cf9d3
commit
925e6ecc17
Loading…
Reference in New Issue