diff options
author | gad <gad@FreeBSD.org> | 2009-06-24 16:57:33 +0000 |
---|---|---|
committer | gad <gad@FreeBSD.org> | 2009-06-24 16:57:33 +0000 |
commit | 9a6a7d8ce26144dca1e9a288a4457749f465514a (patch) | |
tree | 901f0b263379b969c0acde87a5cb307136d31351 /ObsoleteFiles.inc | |
parent | 8680a0da13e7d0054f547e794e0db7ea71121a01 (diff) | |
download | FreeBSD-src-9a6a7d8ce26144dca1e9a288a4457749f465514a.zip FreeBSD-src-9a6a7d8ce26144dca1e9a288a4457749f465514a.tar.gz |
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
Diffstat (limited to 'ObsoleteFiles.inc')
0 files changed, 0 insertions, 0 deletions