Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal AUTHORS editcap.c mergecap.c randpkt.c tethe

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, 23 Feb 2002 19:26:43 -0600 (CST)
guy         2002/02/23 19:26:43 CST

  Modified files:
    .                    AUTHORS editcap.c mergecap.c randpkt.c 
                         tethereal.c 
  Log:
  From Peter Valchev: fix editcap to assign the result of "getopt()" to an
  "int" and to check "getopt()"s return value with -1 rather than EOF.
  
  Fix other "getopt()" loops to check against -1 as well (EOF is -1 on
  most if not all platforms, but the Single UNIX Specification says
  "getopt()" returns -1, so we should check against -1, not EOF).
  
  Revision  Changes    Path
  1.439     +5 -0      ethereal/AUTHORS
  1.20      +3 -3      ethereal/editcap.c
  1.7       +2 -2      ethereal/mergecap.c
  1.13      +2 -2      ethereal/randpkt.c
  1.123     +2 -2      ethereal/tethereal.c