freebsd-dev/usr.sbin/lpr/common_source
Garance A Drosehn 1fd731fa25 My recent changes to add the ctl_renametf routine assumed that print job
control-files will always start with 'cfA*'.  It turns out that some
implementations of lpd (such as solaris) may send a control file which
starts with 'cfB*', or really 'cf<anyLetter>*'.  Although such filenames
are very odd, we did used to accept them.  This changes ctl_renametf to
work correctly with them, and fixes up 'lpc clean' to match.

PR:		bin/32183
MFC after:	10 days
2001-11-28 04:30:47 +00:00
..
common.c Fix a few more minor compile-time warnings, mainly by using size_t where 2001-07-23 01:08:15 +00:00
ctlinfo.c My recent changes to add the ctl_renametf routine assumed that print job 2001-11-28 04:30:47 +00:00
ctlinfo.h Change lpd to perform sanity and safety checks on control files as it 2001-07-15 05:29:38 +00:00
displayq.c Fix buffer overflow in queue file handling. 2001-08-30 09:26:54 +00:00
lp.h Replace three subtly-wrong calls to strncpy with calls to strlcpy, and 2001-07-15 00:57:18 +00:00
lp.local.h Improve my hack from rev 1.6 of displayq.c, and make the TCP 1997-10-14 16:01:02 +00:00
Makefile Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
net.c Rename a few global variables which hold hostname-related values to be 2001-06-15 22:03:07 +00:00
pathnames.h Mega lpd/lpd upgrade, part I: 1997-12-02 20:46:22 +00:00
printcap.c Fix about 90-100 warnings one gets when trying to compile lpr&friends 2001-06-12 16:38:20 +00:00
request.c Use macro API to <sys/queue.h> 2000-12-30 20:56:04 +00:00
rmjob.c Rename a few global variables which hold hostname-related values to be 2001-06-15 22:03:07 +00:00
startdaemon.c Fix about 90-100 warnings one gets when trying to compile lpr&friends 2001-06-12 16:38:20 +00:00