Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal capture.c file.c proto_hier_stats.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, 30 Jan 2004 21:22:38 -0600 (CST)
guy         2004/01/30 21:22:38 CST

  Modified files:
    .                    capture.c file.c proto_hier_stats.c 
  Log:
  Pass ESD_BTN_OK rather than NULL as a second argument to
  "simple_dialog()"; NULL might be #defined to be a pointer expression on
  some platforms, causing compiler warnings (and, on platforms where a
  null pointer doesn't have all its bits 0, possibly causing misbehavior,
  although I don't think there are any such platforms on which Ethereal
  runs).
  
  Don't allow 0 as button mask argument to "simple_dialog()".
  
  Squelch a compiler warning.
  
  Report fatal problems as errors, not warnings.
  
  Report file I/O errors with "file_open_error_message()".
  
  Report file write errors (including those reported by "close()", e.g.
  some errors writing to an NFS server) when saving raw packet data to a
  file.
  
  Revision  Changes    Path
  1.232     +21 -20    ethereal/capture.c
  1.353     +22 -21    ethereal/file.c
  1.25      +2 -2      ethereal/proto_hier_stats.c