1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/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
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
lpc
lpd Call umask() before opening the lock-file for a queue, to make sure 2004-12-19 05:14:29 +00:00
lpq
lpr
lprm
lptest Stop on write error. 2004-09-27 08:24:05 +00:00
pac
SMM.doc For variables that are only checked with defined(), don't provide 2004-10-24 15:33:08 +00:00
Makefile
Makefile.inc