chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Some bugfixes + XML-RPC library


From: Felix Winkelmann
Subject: Re: [Chicken-users] Some bugfixes + XML-RPC library
Date: Fri, 09 May 2003 09:21:37 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530

felix wrote:

The current CVS version fixes several bugs, among them some flonum
alignment problems that caused failure on 64-bit platforms.


Dammit! The following patch is needed for 64-bit systems to
work correctly:


----8<-----------------------------------------------------
cd c:/home/chicken-1.9/
diff -c "c:/home/chicken-1.9/runtime.c~" "c:/home/chicken-1.9/runtime.c"
*** c:/home/chicken-1.9/runtime.c~      Thu May  8 21:08:06 2003
--- c:/home/chicken-1.9/runtime.c       Fri May  9 09:16:32 2003
***************
*** 1612,1618 ****
    p0 = p;
    *(p++) = C_FLONUM_TYPE | sizeof(double);
    *((double *)p) = n;
!   *ptr = p + 2;
    return (C_word)p0;
  }

--- 1612,1618 ----
    p0 = p;
    *(p++) = C_FLONUM_TYPE | sizeof(double);
    *((double *)p) = n;
!   *ptr = (C_word *)((C_word)p + sizeof(double));
    return (C_word)p0;
  }
----8<------------------------------------------------------


Sorry.


cheers,
felix





reply via email to

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