Comment # 5
on bug 2879
from Reinhard Speyerer
My understanding from reading parts of info manual and the generated flex
scanner is that unless -B (batch), -I (interactive) or certain options
which are incompatible with interactive mode are given flex-generated
scanners perform buffered input using fread() instead of line-based input
if input is not from a TTY.
For use cases where a script dynamically creates input to text2pcap
via a pipe and the text2pcap output is piped e.g. to tshark -l
using -U for text2pcap ensures that this input buffering does not take
place (by calling yy_set_interactive(1)) in addition to using fflush() to
ensure that output buffering does not take place.
You are receiving this mail because:
- You are the assignee for the bug.
- You are watching all bug changes.