Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/epan filesystem.c filesystem.h

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: Fri, 23 Jan 2004 19:44:29 -0600 (CST)
guy         2004/01/23 19:44:29 CST

  Modified files:
    epan                 filesystem.c filesystem.h 
  Log:
  Add a new "file_open_error_message()" routine in "epan/filesystem.c", to
  translate UNIX errno values to a somewhat friendly message format
  string.
  
  Rename "file_open_error_message()" in "file.c" to
  "cf_open_error_message()", make "cf_open_error_message()" use the new
  "file_open_error_message()" for UNIX errno values, have "do_capture()"
  in "capture.c" use "file_open_error_message()" to report errors from
  "open()", and make "cf_open_error_message()" static as nothing outside
  "file.c" uses it.
  
  Do similar stuff in "tethereal.c".
  
  Revision  Changes    Path
  1.28      +40 -1     ethereal/epan/filesystem.c
  1.16      +7 -2      ethereal/epan/filesystem.h