Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal/gtk main.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: Sat, 2 Oct 1999 01:00:03 -0500 (CDT)
guy         1999/10/02 01:00:01 CDT

  Modified files:
    gtk                  main.c 
  Log:
  A child process for a "-S" or "-F" capture should *always* exit when the
  capture is done; make it do so, and don't bother passing it a "-Q" flag
  to tell it to do so.
  
  "capture()" is called in two places; in one place, it's in a child
  process, and it shouldn't read in the capture file.  Move the reading of
  the capture file out of "capture()" itself to the place where we
  *should* read in the capture file after it returns.  Also, have it
  return an indication of whether it succeeded or failed, so we know
  whether we should read in the capture file.
  
  Revision  Changes    Path
  1.14      +12 -8     ethereal/gtk/main.c