summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2014-04-06 20:04:33 +0000
committerjilles <jilles@FreeBSD.org>2014-04-06 20:04:33 +0000
commitae85877db58569f74d4dce6b686de355cf9d0e36 (patch)
treeb6b1ffb38071ef38ee64f2ec1d0ca439b1182126 /usr.sbin/lpr
parentb97204b78683cec60e82d9fdf03397b233227e60 (diff)
downloadFreeBSD-src-ae85877db58569f74d4dce6b686de355cf9d0e36.zip
FreeBSD-src-ae85877db58569f74d4dce6b686de355cf9d0e36.tar.gz
find: Treat errno from fts_read() more carefully.
fts_read() leaves errno unchanged on EOF and sets it on error, so set errno to 0 before calling it. Also, don't trust finish_execplus() to leave errno unchanged.
Diffstat (limited to 'usr.sbin/lpr')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud