Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-diameter.c packet-iscsi.c prefs-int.h

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 3 Nov 2001 20:50:21 -0600 (CST)
guy         2001/11/03 20:50:21 CST

  Modified files:
    .                    packet-diameter.c packet-iscsi.c 
                         prefs-int.h prefs.c prefs.h tethereal.c 
  Log:
  Allow a dissector to register preferences that it no longer supports as
  obsolete; we silently ignore attempts to set those in a preferences
  file, so that we don't spam the user with error messages caused by them
  having saved preferences in an earlier release that contained those
  preferences.
  
  Make the Diameter and iSCSI dissectors register obsolete preferences.
  
  Crash if some code tries to register a preferences module with a name
  that contains something other than lower-case ASCII letters, numbers, or
  underscores, or that has already been registered, or if some code tries
  to register a preference with a name that contains something other than
  lower-case ASCII letters, numbers, underscores, or periods, or that has
  already been registered, so that we don't put code like that in a
  release and have to shovel code into "prefs.c" to fix it up later.  (The
  problem with multiple modules or preferences with the same name should
  be obvious; the problem with names with blanks, or upper-case letters,
  or punctuation, is that they're a pain to type on the command line.)
  
  Revision  Changes    Path
  1.33      +6 -1      ethereal/packet-diameter.c
  1.17      +8 -1      ethereal/packet-iscsi.c
  1.4       +8 -4      ethereal/prefs-int.h
  1.70      +95 -3     ethereal/prefs.c
  1.34      +8 -1      ethereal/prefs.h
  1.96      +2 -1      ethereal/tethereal.c