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
Nobody/Anonymous
None
None
Public
| Filename | Description | Download |
|---|---|---|
| dvbsnoop-stdout-linebuf.patch | simple two line patch/hack | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| File Added | 318345: dvbsnoop-stdout-linebuf.patch | 2009-03-18 11:44 | michael_cutler |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use