diff options
author | jdp <jdp@FreeBSD.org> | 2000-12-17 20:50:22 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 2000-12-17 20:50:22 +0000 |
commit | 9173a756868397c51dfb5b6a553ca0fbc82a3d68 (patch) | |
tree | 7279df75ea57c04f633f2d5c76f76213db8e43f9 /lib | |
parent | 0449442242597d58974a27bcb6217c8798ae9499 (diff) | |
download | FreeBSD-src-9173a756868397c51dfb5b6a553ca0fbc82a3d68.zip FreeBSD-src-9173a756868397c51dfb5b6a553ca0fbc82a3d68.tar.gz |
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
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions