tcpdump mailing list archives

Re: savefile.c patch


From: Guy Harris <guy () alum mit edu>
Date: Wed, 26 May 2004 14:45:40 -0700


On May 26, 2004, at 2:35 PM, Guy Harris wrote:

Also, that means that if it's writing to the standard output it won't do a "setbuf()" even on Windows.

...which, of course, it isn't doing now, either - but now writing to the standard output won't work right on Windows as it's writing in text mode.

Also, should we save the mode returned by "setmode()" and restore it when we close a "pcap_t" or "pcap_dumper_t" that refers to the standard input or output?

-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.


Current thread: