Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/doc tethereal.pod.template

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, 17 Feb 2001 21:38:45 -0600 (CST)
guy         2001/02/17 21:38:45 CST

  Modified files:
    doc                  tethereal.pod.template 
  Log:
  In the MSVC++ 6.0 C library, "line-buffered" doesn't mean what one might
  expect - it means "same as fully-buffered".  This means that the "-l"
  flag is a no-op on Windows.
  
  Instead of setting line-buffered mode with "setvbuf()", set a flag and,
  if that flag is set, flush the standard output after the information for
  ever packet is printed; this isn't "line-buffered", either, but, as the
  reason for doing line-buffering is to allow the output of Tethereal to
  be piped to a program and to have that program see the output for a
  packet as soon as the packet is seen and dissected, it should be just as
  good as line-buffered.
  
  Revision  Changes    Path
  1.23      +15 -5     ethereal/doc/tethereal.pod.template