Uzbl

Tasklist

FS#239 - stdout not flushed when it is going to a disk file

Attached to Project: Uzbl
Opened by Omari Norman (massysett) - 2010-07-24 07:38:57 PM
Task Type Bug Report
Category uzbl-core
Status Unconfirmed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version Development
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

I wanted to send uzbl's stdout to a disk file and monitor the output by using tail -f on the file. However, uzbl's output is not showing up in the disk file unless I quit uzbl. The output shows up right away if stdout is going straight to a terminal. Probably this is a setbuf thing. setbuf(3) says that streams are block-buffered if going to a file, line-buffered if going to a terminal. It would be nice if it were always line-buffered so that situations like this would work OK. It shouldn't affect performance as uzbl doesn't dump a ton of stuff to stdout.
This task depends upon

Loading...