<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/usr.sbin/lpr/common_source, branch stable/6</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F6</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F6'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2005-05-13T16:43:28Z</updated>
<entry>
<title>NI_WITHSCOPEID cleanup</title>
<updated>2005-05-13T16:43:28Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2005-05-13T16:43:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9ccf2f38c1fbdba126ec3c898b5b6ce0eb8acc26'/>
<id>urn:sha1:9ccf2f38c1fbdba126ec3c898b5b6ce0eb8acc26</id>
<content type='text'>
Reviewed by:	gad
</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:28Z</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2004-12-31T00:36:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c547dbe8544712965224f3ebd18e4cc56cbe83e2'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>Do more extensive checking of the userid field which is read in from the</title>
<updated>2004-12-31T00:18:42Z</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2004-12-31T00:18:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e357c6ec8e6e1cacf05324a2cf36098ce2211157'/>
<id>urn:sha1:e357c6ec8e6e1cacf05324a2cf36098ce2211157</id>
<content type='text'>
control-file for each print job.  This is partially because the previous
checks still let through some characters which would cause trouble for
other applications which try to process the resulting userid -- such as
accounting programs.

But the main reason is to handle the case where some remote host sends a
print job where the given userid is an uppercase-version of the real userid.
For that case, lpd will now check for uppercase letters in the userid.  If
there are any, it will check to see if the given userid (with the uppercase
letters) is a valid one.  If it is *not* valid, then lpd will change the
userid to all-lowercase right when the job is received.

MFC after:	2 weeks
</content>
</entry>
<entry>
<title>For variables that are only checked with defined(), don't provide</title>
<updated>2004-10-24T15:33:08Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2004-10-24T15:33:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a35d88931c87cfe6bd38f01d7bad22140b3b38f3'/>
<id>urn:sha1:a35d88931c87cfe6bd38f01d7bad22140b3b38f3</id>
<content type='text'>
any fake value.
</content>
</entry>
<entry>
<title>Fix a warning about mismatched pointers.  A pointer to "void *" is not the</title>
<updated>2003-10-26T03:01:24Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>2003-10-26T03:01:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7ed21d32249aa748e8db4fbb14a57fc44b7bdb39'/>
<id>urn:sha1:7ed21d32249aa748e8db4fbb14a57fc44b7bdb39</id>
<content type='text'>
same as a pointer to "char *".  Tell the compiler this is ok.
</content>
</entry>
<entry>
<title>Remove a 'From:' that snuck into an sccsid comment line as part of -v1.3</title>
<updated>2003-08-01T00:06:41Z</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2003-08-01T00:06:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7c558d080c14e2d72be99052ea632dee79dfba7c'/>
<id>urn:sha1:7c558d080c14e2d72be99052ea632dee79dfba7c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Get the 'sccsid' lines even closer to correct style(9) form.  The</title>
<updated>2003-07-14T20:20:58Z</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2003-07-14T20:20:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b7fd86992c39d9f46114e9bd1642b54c01ac4660'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>Get the 'sccsid' for this to match the original lines you would</title>
<updated>2003-07-14T20:17:55Z</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2003-07-14T20:17:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1ef420f7f430e17af4d4bc0c57a1a232fe824771'/>
<id>urn:sha1:1ef420f7f430e17af4d4bc0c57a1a232fe824771</id>
<content type='text'>
get from '-r CSRG', instead of having that sccsid as a comment.
(this is the sccsid from 1996 -- there have been many changes to
printcap.c since then!)

MFC after:	15 days
</content>
</entry>
<entry>
<title>Take advantage of the common_source/lp.cdefs.h file to change lpr</title>
<updated>2003-07-14T05:15:21Z</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2003-07-14T05:15:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1f589b473781e5dd070b60dd1e465b58d7102bf8'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>Introduce a new lp.cdefs.h file, which will be used to make it</title>
<updated>2003-07-14T05:13:55Z</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2003-07-14T05:13:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b9ec9b4d77c32527f6c7bb3e10a832edf14835c5'/>
<id>urn:sha1:b9ec9b4d77c32527f6c7bb3e10a832edf14835c5</id>
<content type='text'>
somewhat easier to build this lpr on other operating systems.
This simply includes &lt;sys/cdefs.h&gt; when that is appropriate,
and then checks for any cdefs-ish macros that lpr uses, and
defines them if they don't already exist.  This is only a start
at making freebsd's lpr less of a hassle to port.  It is mainly
added so all of lpr can be changed to use the __FBSDID() macro,
without making it *more* of a hassle to build on other OS's.

Reviewed by:	discussed with bde and obrien
MFC after:	15 days
</content>
</entry>
</feed>
