diff options
author | John Polstra <jdp@FreeBSD.org> | 2000-12-17 20:50:22 +0000 |
---|---|---|
committer | John Polstra <jdp@FreeBSD.org> | 2000-12-17 20:50:22 +0000 |
commit | fba3cfdef21945e2fcc20b90c782c736577520b8 (patch) | |
tree | 7db9c5c5e7c2b2b66c4e68a5d3e94c9162ea007c /etc/rc.d | |
parent | 61ffadb1852dfaa3d62c7d192b23939b22687bfb (diff) | |
download | src-fba3cfdef21945e2fcc20b90c782c736577520b8.tar.gz src-fba3cfdef21945e2fcc20b90c782c736577520b8.zip |
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
Notes
Notes:
svn path=/head/; revision=70127
Diffstat (limited to 'etc/rc.d')
0 files changed, 0 insertions, 0 deletions