Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/wiretap ascend.c csids.c dbs-etherwatch.c et

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 7 Jun 2002 02:27:39 -0500 (CDT)
guy         2002/06/07 02:27:39 CDT

  Modified files:
    wiretap              ascend.c csids.c dbs-etherwatch.c 
                         etherpeek.c file.c file_wrappers.c 
                         file_wrappers.h i4btrace.c iptrace.c 
                         lanalyzer.c libpcap.c netmon.c nettl.c 
                         netxray.c ngsniffer.c pppdump.c radcom.c 
                         snoop.c toshiba.c visual.c vms.c 
  Log:
  Graeme Hewson noted that zlib has a bug wherein "gzseek()" doesn't set
  the internal z_err value for the stream if an "fseek()" call it makes
  fails, so that if "gzerror()" is subsequently called, it returns Z_OK
  rather than an error.
  
  To work around this, we pass "file_seek()" an "int *err", and have the
  with-zlib version of "file_seek()" check, if "gzseek()" fails, whether
  the return value of "file_error()" is 0 and, if so, have it return
  "errno" instead.
  
  Revision  Changes    Path
  1.30      +4 -10     ethereal/wiretap/ascend.c
  1.14      +3 -7      ethereal/wiretap/csids.c
  1.8       +2 -4      ethereal/wiretap/dbs-etherwatch.c
  1.20      +2 -4      ethereal/wiretap/etherpeek.c
  1.91      +3 -6      ethereal/wiretap/file.c
  1.11      +31 -3     ethereal/wiretap/file_wrappers.c
  1.9       +3 -3      ethereal/wiretap/file_wrappers.h
  1.21      +3 -7      ethereal/wiretap/i4btrace.c
  1.41      +3 -7      ethereal/wiretap/iptrace.c
  1.33      +3 -5      ethereal/wiretap/lanalyzer.c
  1.75      +9 -19     ethereal/wiretap/libpcap.c
  1.56      +4 -9      ethereal/wiretap/netmon.c
  1.29      +4 -10     ethereal/wiretap/nettl.c
  1.56      +4 -9      ethereal/wiretap/netxray.c
  1.82      +10 -30    ethereal/wiretap/ngsniffer.c
  1.19      +3 -7      ethereal/wiretap/pppdump.c
  1.37      +9 -25     ethereal/wiretap/radcom.c
  1.52      +2 -4      ethereal/wiretap/snoop.c
  1.24      +2 -4      ethereal/wiretap/toshiba.c
  1.8       +2 -4      ethereal/wiretap/visual.c
  1.13      +3 -6      ethereal/wiretap/vms.c