summaryrefslogtreecommitdiff
path: root/usr.sbin/lpr
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2015-12-28 20:11:37 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2015-12-28 20:11:37 +0000
commitafcc85933b2602c23b384683139a5ed600cfa28f (patch)
treec6112faf4582c4822944219195b1903899d53bc5 /usr.sbin/lpr
parentffeab0080e4e25e92151bef52dd5618b665eaf42 (diff)
Switch login(3) from lseek+read/write to pread/pwrite and only do the pread()
if the data is needed. Use O_CLOEXEC on the internal fd as MT paranoia. Fix cast in offset calculation; delete register keyword; prefer memset() over bzero() ok millert@
Diffstat (limited to 'usr.sbin/lpr')
0 files changed, 0 insertions, 0 deletions