<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.sbin/lpr/common_source/common.c, branch release/7.0.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2008-02-24T05:45:17+00:00</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2008-02-24T05:45:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a9c219fa3cec18ef9f30edec6fa106bf0e2d423d'/>
<id>a9c219fa3cec18ef9f30edec6fa106bf0e2d423d</id>
<content type='text'>
'RELENG_7_0_0_RELEASE'.

This commit was manufactured to restore the state of the 7.0-RELEASE image.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'RELENG_7_0_0_RELEASE'.

This commit was manufactured to restore the state of the 7.0-RELEASE image.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix so all parts of lpd, lpc, lpq, and lprm will use the same algorithm</title>
<updated>2004-12-31T00:36:28+00:00</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2004-12-31T00:36:28+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c547dbe8544712965224f3ebd18e4cc56cbe83e2'/>
<id>c547dbe8544712965224f3ebd18e4cc56cbe83e2</id>
<content type='text'>
for calculating the job number for a job based on the control-file name.
We might receive cf-files named by other implementations of lpr, where
the job number shown by lpq would not match the job number that other
commands expected for the same name.

This also uses a newer algorithm for determining a job number, to avoid
problems caused when a control-file is named using an IP address, instead
of the hostname.

This also moved the declaration if isowner() from lp.h to rmjob.c.  When I
went to change the parameters, I noticed that rmjob.c was the only source
file which uses it.

MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
for calculating the job number for a job based on the control-file name.
We might receive cf-files named by other implementations of lpr, where
the job number shown by lpq would not match the job number that other
commands expected for the same name.

This also uses a newer algorithm for determining a job number, to avoid
problems caused when a control-file is named using an IP address, instead
of the hostname.

This also moved the declaration if isowner() from lp.h to rmjob.c.  When I
went to change the parameters, I noticed that rmjob.c was the only source
file which uses it.

MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>Get the 'sccsid' lines even closer to correct style(9) form.  The</title>
<updated>2003-07-14T20:20:58+00:00</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2003-07-14T20:20:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b7fd86992c39d9f46114e9bd1642b54c01ac4660'/>
<id>b7fd86992c39d9f46114e9bd1642b54c01ac4660</id>
<content type='text'>
'#ifdef lint/#endif' around the lines should not have been removed.
Also add blank lines where one (per file) was missing.

Reviewed by:	First part noticed by bde, blank lines noticed by me
MFC after:	15 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'#ifdef lint/#endif' around the lines should not have been removed.
Also add blank lines where one (per file) was missing.

Reviewed by:	First part noticed by bde, blank lines noticed by me
MFC after:	15 days
</pre>
</div>
</content>
</entry>
<entry>
<title>Take advantage of the common_source/lp.cdefs.h file to change lpr</title>
<updated>2003-07-14T05:15:21+00:00</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2003-07-14T05:15:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1f589b473781e5dd070b60dd1e465b58d7102bf8'/>
<id>1f589b473781e5dd070b60dd1e465b58d7102bf8</id>
<content type='text'>
source to use __FBSDID() for setting rcsids.  Also fix the format
of 'sccsid' lines to consistently match style(9) guidelines.

Reviewed by:	discussed with bde and obrien
MFC after:	15 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
source to use __FBSDID() for setting rcsids.  Also fix the format
of 'sccsid' lines to consistently match style(9) guidelines.

Reviewed by:	discussed with bde and obrien
MFC after:	15 days
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix set_qstate() so it correctly checks for any error from chmod().</title>
<updated>2002-07-12T01:37:06+00:00</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2002-07-12T01:37:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=722915cdec2f6cecd8460d00d850349000e00396'/>
<id>722915cdec2f6cecd8460d00d850349000e00396</id>
<content type='text'>
Note that set_qstate() is only called from several 'lpc' commands.

MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Note that set_qstate() is only called from several 'lpc' commands.

MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a SQS_QCHANGED option to set_qstate().  This will soon be used by 'lpc'.</title>
<updated>2002-07-12T01:31:46+00:00</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2002-07-12T01:31:46+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4c2a3991673aeecf0285ed1b3cb0992aeb1cfd73'/>
<id>4c2a3991673aeecf0285ed1b3cb0992aeb1cfd73</id>
<content type='text'>
Reviewed by:	freebsd-print@bostonradio.org
MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:	freebsd-print@bostonradio.org
MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>Add two variables to struct jobqueue, and change the way that getq()</title>
<updated>2002-07-12T01:22:57+00:00</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2002-07-12T01:22:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=bae8d45c7f88bd182db15543520af30b13146bc5'/>
<id>bae8d45c7f88bd182db15543520af30b13146bc5</id>
<content type='text'>
calculates how much space to get for that struct, so it will get the
right amount when new variables are added.

MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
calculates how much space to get for that struct, so it will get the
right amount when new variables are added.

MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>Bah humbug.  Fix another typo on the same comment line.  It also had</title>
<updated>2002-06-13T02:37:50+00:00</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2002-06-13T02:37:50+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5e55dc17fbb09a213879d7b02924bf44f71e0830'/>
<id>5e55dc17fbb09a213879d7b02924bf44f71e0830</id>
<content type='text'>
an option-space instead of a space...

MFC after:	10 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
an option-space instead of a space...

MFC after:	10 days
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a typo in a comment from the previous commit.  I had a bullet-character</title>
<updated>2002-06-13T02:32:42+00:00</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2002-06-13T02:32:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a32355e41888a9c260579faf96306f191716307d'/>
<id>a32355e41888a9c260579faf96306f191716307d</id>
<content type='text'>
instead of an asterisk.

Noticed by:	keramida
MFC after:	10 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
instead of an asterisk.

Noticed by:	keramida
MFC after:	10 days
</pre>
</div>
</content>
</entry>
<entry>
<title>Almost complete rewrite of the lpc commands 'abort', 'enable', 'disable',</title>
<updated>2002-06-13T01:55:48+00:00</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2002-06-13T01:55:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e8e715fa62e0a9bcddfc77a931270a7af39a0b3b'/>
<id>e8e715fa62e0a9bcddfc77a931270a7af39a0b3b</id>
<content type='text'>
'restart', 'start', 'stop' and 'up'.  These are commands which mainly
just alter the access bits on the lock-file of a queue, and they all
now use a central routine to do that.  This reduces the amount of code
that is run as the priv userid, and eliminates a number of cases where
error messages were written while that priv uid was in effect.

As far as users are concerned, there should be no noticable difference
in the new versions.  In case there *is*, the previous implementations
are still there as 'xabort', 'xenable', etc, so they are available for
instant fallback.  If no one reports a problem after a few weeks, then
a later update will remove those x-commands.

Reviewed by:	freebsd-audit and freebsd-print@bostonradio.org
MFC after:	10 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'restart', 'start', 'stop' and 'up'.  These are commands which mainly
just alter the access bits on the lock-file of a queue, and they all
now use a central routine to do that.  This reduces the amount of code
that is run as the priv userid, and eliminates a number of cases where
error messages were written while that priv uid was in effect.

As far as users are concerned, there should be no noticable difference
in the new versions.  In case there *is*, the previous implementations
are still there as 'xabort', 'xenable', etc, so they are available for
instant fallback.  If no one reports a problem after a few weeks, then
a later update will remove those x-commands.

Reviewed by:	freebsd-audit and freebsd-print@bostonradio.org
MFC after:	10 days
</pre>
</div>
</content>
</entry>
</feed>
