freebsd-dev/usr.sbin/lpr/common_source
Garance A Drosehn 46bfa198cf Fix end-of-line issues that can come up when `lpq' reads information
about a queue from a remote host.  That remote host may use \r, \r\n,
or \n\r as the line-ending character.  In some cases the remote host
will write a single line of information without *any* EOL sequence.

Translate all the non-unix EOL's to the standard newline, and make
sure the final line includes a terminating newline.  Logic is also
added to translate all unprintable characters to '?', but that is
#if-ed out for now.

PR:		bin/104731
MFC after:	3 weeks
2009-06-24 16:57:33 +00:00
..
common.c Fix so all parts of lpd, lpc, lpq, and lprm will use the same algorithm 2004-12-31 00:36:28 +00:00
ctlinfo.c Do more extensive checking of the userid field which is read in from the 2004-12-31 00:18:42 +00:00
ctlinfo.h
displayq.c Fix end-of-line issues that can come up when `lpq' reads information 2009-06-24 16:57:33 +00:00
lp.cdefs.h
lp.h Fix so all parts of lpd, lpc, lpq, and lprm will use the same algorithm 2004-12-31 00:36:28 +00:00
lp.local.h Remove a 'From:' that snuck into an sccsid comment line as part of -v1.3 2003-08-01 00:06:41 +00:00
Makefile For variables that are only checked with defined(), don't provide 2004-10-24 15:33:08 +00:00
matchjobs.c Fix so all parts of lpd, lpc, lpq, and lprm will use the same algorithm 2004-12-31 00:36:28 +00:00
matchjobs.h
net.c NI_WITHSCOPEID cleanup 2005-05-13 16:43:28 +00:00
pathnames.h
printcap.c
request.c
rmjob.c Fix so all parts of lpd, lpc, lpq, and lprm will use the same algorithm 2004-12-31 00:36:28 +00:00
startdaemon.c