freebsd-dev/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 Fix two buffer overflows caused by off-by-one errors: avoid writing a null 2003-10-13 07:24:22 +00:00
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 Remove MAINTAINER= lines. That info is now in /usr/src/MAINTAINERS 2003-06-12 03:32:21 +00:00
Makefile.inc There is no need for this makefile to reference BDECFLAGS, particularly 2003-06-11 20:32:52 +00:00