summaryrefslogtreecommitdiff
path: root/etc/hosts.lpd
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-02-14 19:02:22 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-02-14 19:02:22 +0000
commitd3c057cb213552b36fc591abb64e7530d6006909 (patch)
treee69ef54a69406e430ac355e5ae39f5c243ce67e2 /etc/hosts.lpd
parent2cf9841a6d96670b5f8710f70da153060f3ba3d3 (diff)
readv/writev with iov_len == 0 is legal (was already ok in uipc_syscalls.c).
Make the check more readable by comparing against SSIZE_MAX instead of checking for wraparound. This is safe because SSIZE_MAX * 2 <= SIZE_T_MAX. Fixes recno problems in the db routines exposed by a perl test.
Diffstat (limited to 'etc/hosts.lpd')
0 files changed, 0 insertions, 0 deletions