Haven't we already fixed this one ?

Darren

----- Forwarded message from John Polstra -----

Message-Id: <[EMAIL PROTECTED]>
From: John Polstra <[EMAIL PROTECTED]>
Date: Sun, 17 Dec 2000 12:50:23 -0800 (PST)
Subject: cvs commit: src/sys/net bpf.c
X-FreeBSD-CVS-Branch: HEAD

jdp         2000/12/17 12:50:23 PST

  Modified files:
    sys/net              bpf.c 
  Log:
  Fix bug: a read() on a bpf device which was in non-blocking mode
  and had no data available returned 0.  Now it returns -1 with errno
  set to EWOULDBLOCK (== EAGAIN) as it should.  This fix makes the bpf
  device usable in threaded programs.
  
  Reviewed by:  bde
  
  Revision  Changes    Path
  1.72      +7 -6      src/sys/net/bpf.c






----- End of forwarded message from John Polstra -----
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to