diff options
author | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2016-09-30 10:53:12 +0000 |
---|---|---|
committer | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2016-09-30 10:53:12 +0000 |
commit | d9f7eac08b3d3cde735673f8e8c2be9595a65ca2 (patch) | |
tree | 2dea33a2798d0e395d69cc9f7c3e21a37dd5a678 /lib/libssl/ssl3.h | |
parent | ee0484bb84cb1f8ce467d72ec4ae27395853978a (diff) |
Make read(2) return EISDIR on directories.
Years ago Theo made read(2) return 0 on directories, instead of dumping
the directory content. Another behavior is allowed as an extension by
POSIX, returning an EISDIR error, as used on a few other systems. This
behavior is deemed more useful as it helps spotting errors. This
implies that it might break some setups.
Ports bulk builds by ajacoutot@ and naddy@, ok millert@ bluhm@ naddy@
deraadt@
Diffstat (limited to 'lib/libssl/ssl3.h')
0 files changed, 0 insertions, 0 deletions