Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/wiretap file.c

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: Mon, 15 Oct 2001 23:58:25 -0500 (CDT)
guy         2001/10/15 23:58:25 CDT

  Modified files:
    wiretap              file.c 
  Log:
  Don't create a Wiretap dump file unless we're at least sure we support
  the specified encapsulation with the specified capture file type, and
  that we can allocate a "wtap_dumper *".
  
  If we could do all that, and could create the dump file, but the
  file-type-specific create routine fails (e.g., because there's not
  enough disk space to write out the header), remove the dump file.
  
  Revision  Changes    Path
  1.69      +69 -32    ethereal/wiretap/file.c