Wireshark-bugs: [Wireshark-bugs] [Bug 2879] feature request: disable stdio buffering in text2pca
Date: Wed, 13 Oct 2010 14:02:57 -0700 (PDT)

--- Comment #1 from Chris Maynard <christopher.maynard@xxxxxxxxx> 2010-10-13 14:02:56 PDT ---
Created an attachment (id=5295)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=5295)
Patch to flush output after each packet.

This small patch to text2pcap.c should give you what you want, but I have not
tested it because I don't have any files available that are suitable as input
to text2pcap.

Please test the patch and if it meets your needs, I'll turn on the
"review_for_checkin" flag.

-> The "line_buffered" variable name was copied from tshark.
-> I used 'U' from tcpdump since tshark's 'l' was already taken by text2pcap.
-> The usage of 'U' from tcpdump seemed more appropriate as well.

Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.