From owner-cvs-src-old@FreeBSD.ORG Wed Apr 13 00:36:38 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C63031065782 for ; Wed, 13 Apr 2011 00:36:38 +0000 (UTC) (envelope-from gad@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B35A98FC17 for ; Wed, 13 Apr 2011 00:36:38 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p3D0acMZ086048 for ; Wed, 13 Apr 2011 00:36:38 GMT (envelope-from gad@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p3D0ac6D086047 for cvs-src-old@freebsd.org; Wed, 13 Apr 2011 00:36:38 GMT (envelope-from gad@repoman.freebsd.org) Message-Id: <201104130036.p3D0ac6D086047@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to gad@repoman.freebsd.org using -f From: Garance A Drosehn Date: Wed, 13 Apr 2011 00:36:19 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/lpr/common_source ctlinfo.c ctlinfo.h matchjobs.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 00:36:38 -0000 gad 2011-04-13 00:36:19 UTC FreeBSD src repository Modified files: usr.sbin/lpr/common_source ctlinfo.c ctlinfo.h matchjobs.c Log: SVN rev 220586 on 2011-04-13 00:36:19Z by gad - Fix the code that matches userids in match_jobspec(). It needs to check the username-for-accounting field (P), not the username-for-headerpage (L). These are usually the same value, except that control files do not have the username-for-headerpage field if the user has requested no header page. - Also rename the cji_username field to cji_headruser, to make it clear that the value should only be used for the header page. (aka banner page) MFC after: 3 weeks Revision Changes Path 1.11 +6 -6 src/usr.sbin/lpr/common_source/ctlinfo.c 1.4 +2 -2 src/usr.sbin/lpr/common_source/ctlinfo.h 1.6 +3 -3 src/usr.sbin/lpr/common_source/matchjobs.c