From owner-cvs-all@FreeBSD.ORG Fri Jul 7 01:12:26 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D4F1916A4DD; Fri, 7 Jul 2006 01:12:26 +0000 (UTC) (envelope-from gad@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9695A43D45; Fri, 7 Jul 2006 01:12:26 +0000 (GMT) (envelope-from gad@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k671CQbC074453; Fri, 7 Jul 2006 01:12:26 GMT (envelope-from gad@repoman.freebsd.org) Received: (from gad@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k671CQcQ074452; Fri, 7 Jul 2006 01:12:26 GMT (envelope-from gad) Message-Id: <200607070112.k671CQcQ074452@repoman.freebsd.org> From: Garance A Drosehn Date: Fri, 7 Jul 2006 01:12:26 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/lpr/lpd printjob.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jul 2006 01:12:26 -0000 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