[kaffe] DoublePrint fix for 64-bit platforms

Dalibor Topic robilad at kaffe.org
Fri Sep 16 17:42:01 PDT 2005

Gwenole Beauchesne wrote:
> Hi,
> Here is a quick fix for DoublePrint test failure on 64-bit platforms. The 
> fdlibm code is not 64-bit clean, so I temporarily switched all occurrences 
> of 'long' to 'int' to make them 32-bit, as expected. The better fix is to 
> find out why ->_maxwds could be 0 and make mprec.c (lshift) going into an
> infinite loop.
> The GCC part (for gij) is also affected.
> No ChangeLog because I'd prefer have the right fix, probably when I sleep 
> enough. ;-)

Salut Gwenole,

I just wanted to ask whether you feel more comfortable with the patch now ;)

dalibor topic

More information about the kaffe mailing list