Re: [tcpdump-workers] Broken behavior in savefile.c

2004-09-27 Thread Guy Harris
On Sep 27, 2004, at 5:17 PM, Joshua Blanton wrote: One could also check to see if the file handle is stdin. That's what "sf_close()" does, so I checked in a fix to do that in "pcap_open_offline()". - This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe.

[tcpdump-workers] Broken behavior in savefile.c

2004-09-27 Thread Joshua Blanton
Hello, I am one of the many bug fixers/maintainers of tcptrace (tcptrace.org). In libpcap/savefile.c, it appears that a bug was introduced in CVS revision 1.69. The code was patched to close file handles if the file isn't really in the libpcap format - however, it also closes stdin (which was ope