Date: Wed, 13 Apr 2011 00:36:19 +0000 (UTC) From: Garance A Drosehn <gad@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.sbin/lpr/common_source ctlinfo.c ctlinfo.h matchjobs.c Message-ID: <201104130036.p3D0ac6D086047@repoman.freebsd.org>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104130036.p3D0ac6D086047>
