Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal capture.c

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, 23 Sep 1999 02:04:27 -0500 (CDT)
guy         1999/09/23 02:04:25 CDT

  Modified files:
    .                    capture.c 
  Log:
  In fork mode, close the capture file in "do_capture()", because the
  child will nuke that file before we get to open the capture in
  "tail_cap_file()" - assuming we do, because the capture may not start.
  
  If we fail while writing to, or closing, a capture file we've opened for
  writing, don't treat that as a capture error, as we may have saved at
  least some packets to the capture file (that's the way it worked before
  my recent checkins).
  
  Revision  Changes    Path
  1.69      +63 -44    ethereal/capture.c