diff options
author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-09-12 21:51:55 +0200 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-09-12 21:51:55 +0200 |
commit | d25493587595a7bc5eb0764dad9e8de10a26a854 (patch) | |
tree | 1e399c343f102eca23f2cbe97c2d33414b42bb93 /LICENSE | |
parent | adc463157490fa4c15cf3daf3fc9780e8d8abcb1 (diff) | |
download | st-d25493587595a7bc5eb0764dad9e8de10a26a854.tar.gz st-d25493587595a7bc5eb0764dad9e8de10a26a854.tar.bz2 |
Remove buffering to fileio instead of calling fflush
By default text files are line buffered, and this means that -f option will
not write the line until a \n is printed. This is not very useful for
debugging, so a call to fflush was added. This patch substitute this call
(which will be done by each character painted) by the full remove of the
buffering in the file.
---
st.c | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions