diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-12-28 20:11:37 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-12-28 20:11:37 +0000 |
commit | afcc85933b2602c23b384683139a5ed600cfa28f (patch) | |
tree | c6112faf4582c4822944219195b1903899d53bc5 /usr.sbin/lpr | |
parent | ffeab0080e4e25e92151bef52dd5618b665eaf42 (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