Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal capture.c file.c file.h tethereal.c

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

  Modified files:
    .                    capture.c file.c file.h tethereal.c 
  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.227     +3 -2      ethereal/capture.c
  1.345     +68 -80    ethereal/file.c
  1.112     +1 -2      ethereal/file.h
  1.224     +62 -74    ethereal/tethereal.c