Kaffe CVS: kaffe dalibor

Dalibor Topic kaffe@rufus.w3.org
Mon, 8 Apr 2002 03:14:19 -0700 (PDT)



On Thursday 04 April 2002 18:06, Jim Pick wrote:
> Hmm.  Nice one.  :-)
>
>  private byte[] getBytes( CharToByteConverter
encoding) {
>   ByteArrayOutputStream out = new
ByteArrayOutputStream( value.length);
>
> - byte[] buf = new byte[512];
> + byte[] buf = new byte[value.length*7];
>   int buflen = encoding.convert( value, offset,
count, buf, 0, buf.length);

It was in RedHat, it was in SuSE, it was in Mandrake,
it was in PLD. I figured 
that someone really wanted to have that patch in kaffe
:-)

cheers,

dalibor topic



=====
"Success means never having to wear a suit"

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/