Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal capture.c file.c file.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: Thu, 20 Jul 2000 00:09:53 -0500 (CDT)
guy         2000/07/20 00:09:50 CDT

  Modified files:
    .                    capture.c file.c file.h 
  Log:
  Use ESD_TYPE_CRIT for most errors (the model used by various GUIs seems
  to use "warning" dialog boxes only to warn the user "if you do that, bad
  things may happen" *and* to offer them the option either to drive on or
  quit, so perhaps ESD_TYPE_CRIT should be used for all errors).
  
  However, put "Ethereal: Error" rather than "Ethereal: Critical" in the
  title bar, in the hopes that it'll make it clearer that Something Bad
  Happened.
  
  If the user specifies that captures should be saved to a user-specified
  file rather than a temporary file, report errors trying to create that
  file with "file_open_error_message()".
  
  Make the "for_writing" argument to "file_open_error_message()" a
  "gboolean", as it's either TRUE (if the file is being opened for
  writing) or FALSE (if it's being opened for reading).
  
  Report EISDIR as "XXX is a directory (folder), not a file.".
  
  Revision  Changes    Path
  1.112     +13 -8     ethereal/capture.c
  1.199     +17 -13    ethereal/file.c
  1.72      +2 -2      ethereal/file.h