freebsd-skq/usr.sbin/lpr
Garance A Drosehn c547dbe854 Fix so all parts of lpd, lpc, lpq, and lprm will use the same algorithm
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
2004-12-31 00:36:28 +00:00
..
chkprintcap Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
common_source Fix so all parts of lpd, lpc, lpq, and lprm will use the same algorithm 2004-12-31 00:36:28 +00:00
filters Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
filters.ru Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
lp Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
lpc
lpd Call umask() before opening the lock-file for a queue, to make sure 2004-12-19 05:14:29 +00:00
lpq Eliminated double whitespace. 2004-07-03 18:35:53 +00:00
lpr Eliminated double whitespace. 2004-07-03 18:35:53 +00:00
lprm Eliminated double whitespace. 2004-07-03 18:35:53 +00:00
lptest Stop on write error. 2004-09-27 08:24:05 +00:00
pac Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
SMM.doc For variables that are only checked with defined(), don't provide 2004-10-24 15:33:08 +00:00
Makefile
Makefile.inc