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: Thu, 21 Oct 1999 16:46:18 -0500 (CDT)
guy         1999/10/21 16:46:15 CDT

  Modified files:
    gtk                  main.c 
  Log:
  Have Ethereal check for a first command-line argument of "-G", rather
  than a command name of "ethereal-dump-fields", to decide whether to run
  as normal Ethereal or to just dump out the list of fields that can be
  used in a display filter.
  
  This allows us to continue to make that check without doing the regular
  command line flag parsing (which we don't want to do, as we don't want
  to call "gtk_init()" before making that check, as "gtk_init()" tries to
  open an X display, and some people want not to have to have X running in
  order to build Ethereal, or want not to have Ethereal try to open an X
  connection over a slow line if it's just going to print field names to
  the standard output), without having to make a link to "../ethereal"
  from the "doc" directory (said link couldn't be a hard link, as ATK
  apparently disallows hard links between directories, and I have the
  vague impression that a symbolic link might cause other problems).
  
  Revision  Changes    Path
  1.25      +31 -15    ethereal/gtk/main.c