classpathx-javamail
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Classpathx-javamail] Bug: gnu.mail.util.QPOutputStream encodes line


From: Chris Burdess
Subject: Re: [Classpathx-javamail] Bug: gnu.mail.util.QPOutputStream encodes linebreaks
Date: Wed, 30 Aug 2006 15:10:56 +0100
User-agent: Mutt/1.3.28i

Andy Wu wrote:
> False alarm. Turns out I had an old version of the class which I'd 
> updated manually but missed a vital change in 1.4.

OK, good to hear it.

> 
> Andy
> 
> Chris Burdess wrote:
> >Andy Wu wrote:
> >>I believe I've found a bug in the QPOutputStream code. When it comes 
> >>across a line break both "\r\n" and "=0D=0A" are being output 
> >>resulting in extraneous new lines.
> >>
> >>The fault appears to lie in the write( int b ) method. If b=='\r' or 
> >>b=='\n' the last if block should be avoided as the outputCRLF() will 
> >>have already done what's required.
> >
> >Hi Andy,
> >
> >If you could submit a patch, preferably with a small test case that 
> >demonstrates the problem and passes with the patch, it would be much 
> >appreciated.
-- 
Chris Burdess




reply via email to

[Prev in Thread] Current Thread [Next in Thread]