Date: Fri, 7 Jul 2006 01:12:26 +0000 (UTC) From: Garance A Drosehn <gad@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/lpr/lpd printjob.c Message-ID: <200607070112.k671CQcQ074452@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
gad 2006-07-07 01:12:26 UTC
FreeBSD src repository
Modified files:
usr.sbin/lpr/lpd printjob.c
Log:
Fix checking of the "lock" file in the spool directory for a queue,
so that the checking will wind up with the correct mode-bits in
the case where the initial open() of that lock file will create it.
Due to this bug, the first job ever sent to a queue could leave
that queue in a "printing is disabled" state.
PR: 93469
Submitted by: Michael Szklarski of kco.com.pl
MFC after: 1 week
Revision Changes Path
1.64 +9 -2 src/usr.sbin/lpr/lpd/printjob.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607070112.k671CQcQ074452>
