Share

dvbsnoop

Tracker: Patches

5 setvbuf / setlinebuf on Linux - ID: 2691586
Last Update: Attachment added ( michael_cutler )

Piping the output of 'dvbsnoop' to other processes on recent versions of
Linux had some unexpected results, essentially the dvbsnoop output was
buffed up to ~30 lines at a time before being flushed to the next process.
This messed up my simple line-parser as all the lines arrived at the same
time. This patch uses setvbuf/setlinebuf to disable line-buffering of the
dvbsnoop output.

Regards,
MC


Michael Cutler ( michael_cutler ) - 2009-03-18 11:44

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File ( 1 )

Filename Description Download
dvbsnoop-stdout-linebuf.patch simple two line patch/hack Download

Change ( 1 )

Field Old Value Date By
File Added 318345: dvbsnoop-stdout-linebuf.patch 2009-03-18 11:44 michael_cutler