This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: more cvs guile stuff :)
- To: guile at sourceware dot cygnus dot com
- Subject: Re: more cvs guile stuff :)
- From: "Dale P. Smith" <dpsm at en dot com>
- Date: Wed, 8 Mar 2000 16:21:34 -0500
- CC: Eric Moore <moore at chem dot cmu dot edu>
- Organization: Altus Technologies Corporation.
- References: <14533.51998.846639.288287@lovecraft.chem.cmu.edu> <14533.52913.533731.679858@lovecraft.chem.cmu.edu> <14534.3622.765907.135365@lovecraft.chem.cmu.edu>
Eric Moore wrote:
>
> The recent changes in numbers.c to have logand and logior use
> SCM_VALIDATE_ULONG_COPY break scwm.
>
> Actually, they break anything that uses (logand (lognot 2)) since
> lognot uses scm_difference to return a negative number....
>
> So here's a patch, and also changes the ints SCM_VALIDATE_LONG_COPY
> copies into into longs.
>
> (I'm not sure that the semantics are quite right with lognot and
> logand and friends, but at least scwm doesn't throw errors constantly,
> so has to be closer to correct :)
Has anyone looked at the patches I sent in that update numbers.c with the
latest logxxx routines from scm?
Thanks!
Dale