On Wed, Dec 17, 2008 at 09:37:01AM +0000, Peter Clifton wrote: > On Wed, 2008-12-17 at 10:26 +0100, Gabriel Paubert wrote: > > > Aprt from that, I am the only one still compiling on non-x86 > > machines? > > > > On a machine where char are unsigned by default, there is a > > bug with spectacular side effects (burst of error messages > > ending with segmentation fault) due to a char parameter in > > s_basic_new_object(). When the first parameter is -1, it ends > > up being converted to 255 and stored as such in the object > > structure (where the type is int). > > -1 was OBJ_HEAD IIRC. And actually, it is gone in git HEAD. Try building > from the HEAD now, and see if the bug manifests anywhere else.
Indeed it works now. Off to testing cairo branch when I can on my slooow, 8 years old machine. > in any case, OBJECT's "type" member is an integer, so I agree that we > should be passing the object type as int. > > Thanks for the patch. Someone should apply it (I will if I remember, but > if someone else with commit access wants to, please do - as I'll not get > to it today). It is indeed a fix for what is now a latent bug. Regards, Gabriel _______________________________________________ geda-dev mailing list geda-dev@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev