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

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sun, 15 Aug 1999 01:59:22 -0500 (CDT)
guy         1999/08/15 01:59:18 CDT

  Modified files:
    wiretap              file.c wtap.h 
  Log:
  Have "wtap_open_offline()" return, on failure, an indication of the
  reason for the failure, and have it do the checks to make sure the file
  being opened is a plain file or a pipe.
  
  Have "open_cap_file()" make use of that.
  
  Don't automatically set "last_open_dir" if a "-r" flag was specified on
  the command line - do so only if the file in question could actually be
  opened.
  
  Revision  Changes    Path
  1.13      +21 -4     ethereal/wiretap/file.c
  1.23      +14 -3     ethereal/wiretap/wtap.h