Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/wiretap file.c lanalyzer.c lanalyzer.h libpc
guy 2002/07/16 02:15:13 CDT
Modified files:
wiretap file.c lanalyzer.c lanalyzer.h libpcap.c
libpcap.h netmon.c netmon.h netxray.c
netxray.h ngsniffer.c ngsniffer.h snoop.c
snoop.h visual.c visual.h wtap.c wtap.h
Log:
From Graeme Hewson:
Allow "-" as the output file name in Wiretap, referring to the
standard error.
Optimize the capture loop.
Fix some of the error-message printing code in Ethereal and Tethereal.
Have Wiretap check whether it can seek on a file descriptor, and pass
the results of that test to the file-type-specific "open for output"
routine. Have the "open for output" routines for files where we need to
seek when writing the file return an error if seeks don't work.
Revision Changes Path
1.94 +45 -21 ethereal/wiretap/file.c
1.35 +9 -3 ethereal/wiretap/lanalyzer.c
1.7 +2 -2 ethereal/wiretap/lanalyzer.h
1.79 +2 -2 ethereal/wiretap/libpcap.c
1.13 +2 -2 ethereal/wiretap/libpcap.h
1.57 +10 -3 ethereal/wiretap/netmon.c
1.10 +2 -2 ethereal/wiretap/netmon.h
1.57 +19 -5 ethereal/wiretap/netxray.c
1.9 +3 -3 ethereal/wiretap/netxray.h
1.83 +2 -2 ethereal/wiretap/ngsniffer.c
1.11 +2 -2 ethereal/wiretap/ngsniffer.h
1.53 +2 -2 ethereal/wiretap/snoop.c
1.11 +2 -2 ethereal/wiretap/snoop.h
1.9 +9 -2 ethereal/wiretap/visual.c
1.4 +2 -2 ethereal/wiretap/visual.h
1.67 +4 -3 ethereal/wiretap/wtap.c
1.117 +15 -13 ethereal/wiretap/wtap.h