Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal capture.c

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: Thu, 6 Jun 2002 14:03:40 -0500 (CDT)
guy         2002/06/06 14:03:39 CDT

  Modified files:
    .                    capture.c 
  Log:
  From Michael Tuexen: remove the old workaround for "select()"s not
  working on MacOS X.
  
  It appears that the underlying problem with the timeout was that we
  weren't treating MacOS X as a BSD, and the "select()" we were doing
  presumably wasn't working as it doesn't work on BPF devices on many
  BSDs; the workaround no longer appears to be necessary, with Michael's
  fix to treat MacOS X as BSD.
  
  (Presumably a select timeout with "tv_usec" set to 1000*1000
  microseconds was treated as an error, or otherwise treated in such a way
  that it didn't block waiting for the BPF device to say it could be
  read.)
  
  Revision  Changes    Path
  1.177     +1 -14     ethereal/capture.c