diff options
author | jb <jb@FreeBSD.org> | 1998-06-10 22:28:45 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-06-10 22:28:45 +0000 |
commit | e55019792fa382e1b255e9d7419dada0e1ae68a1 (patch) | |
tree | fa8fa1d1f6c9de31fd9ef7fd3a337d7431c17c18 /lib/libc/net/nsap_addr.c | |
parent | 45e8efa5ea54d24c71d47a462ce63a3083abe08b (diff) | |
download | FreeBSD-src-e55019792fa382e1b255e9d7419dada0e1ae68a1.zip FreeBSD-src-e55019792fa382e1b255e9d7419dada0e1ae68a1.tar.gz |
Check the access mode in the flags before waiting on a read or a write
that might never be possible if the file was not opened in the corrent
mode. This prevents a hang for bad programs. Why do people code like that?
Diffstat (limited to 'lib/libc/net/nsap_addr.c')
0 files changed, 0 insertions, 0 deletions