Date: Wed, 24 Jun 2009 12:24:07 -0500 (CDT) From: "Sean C. Farley" <scf@FreeBSD.org> To: Garance A Drosehn <gad@FreeBSD.org> Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r194859 - head/usr.sbin/lpr/common_source Message-ID: <alpine.BSF.2.00.0906241223170.8193@thor.farley.org> In-Reply-To: <200906241657.n5OGvXIo021213@svn.freebsd.org> References: <200906241657.n5OGvXIo021213@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 24 Jun 2009, Garance A Drosehn wrote: > Author: gad > Date: Wed Jun 24 16:57:33 2009 > New Revision: 194859 > URL: http://svn.freebsd.org/changeset/base/194859 > > Log: > 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 Thank you! Sean -- scf@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0906241223170.8193>