Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal cfile.h file.c file.h print.c print.h ps.h r

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

From: guy@xxxxxxxxxxxx (Guy Harris)
Date: Sat, 24 Jan 2004 18:58:12 -0600 (CST)
guy         2004/01/24 18:58:12 CST

  Modified files:
    .                    cfile.h file.c file.h print.c print.h 
                         ps.h rdps.c tethereal.c 
  Log:
  There's no need to keep a "FILE *" for the file being printed to in a
  "capture_file" structure.  Keep it locally, instead.
  
  Check for errors when printing packets.
  
  Report failure to open a print destination and failure to write to a
  print destination differently.
  
  Don't have the "print preamble" and "print final" routines return
  success/failure indications - revert to the old scheme where they
  didn't, and have the callers use "ferror()" to check for errors.
  
  Report write errors when printing dissections in Tethereal.
  
  Report print errors as errors, not warnings.
  
  Revision  Changes    Path
  1.8       +1 -2      ethereal/cfile.h
  1.348     +48 -29    ethereal/file.c
  1.114     +7 -2      ethereal/file.h
  1.71      +7 -11     ethereal/print.c
  1.36      +3 -3      ethereal/print.h
  1.7       +3 -3      ethereal/ps.h
  1.8       +3 -3      ethereal/rdps.c
  1.225     +43 -3     ethereal/tethereal.c