[Top][All Lists]

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

[Gcl-devel] Re: [Axiom-developer] Broken hypertex

From: Camm Maguire
Subject: [Gcl-devel] Re: [Axiom-developer] Broken hypertex
Date: 14 Oct 2006 21:23:17 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings, and thanks for the report!  Typeo should be gone now in
both branches.

Just wanted to note that the only way you can guarantee that you don't
get a copy out of object_to_string is to write a null character at the
end of the lisp string body yourself, as there is extra room only in
special circumstances.

Take care,

Waldek Hebisch <address@hidden> writes:

> > Le samedi 14 octobre 2006 ? 03:09 +0200, Waldek Hebisch a écrit :
> > > Investigating further I have noticed that gcl-2.6.8pre2 in silver is 
> > > different then gcl-2.6.8pre in build improvements.  In particular
> > > the function object_to_string in gcl-2.6.8pre2/o/cmpaux.c is like
> > > gcl-2.6.7 while the version in gcl-2.6.8pre is different.
> > 
> > Exactly, a typo (& instead of %), no ? I think Camm read this mailing
> > list but writing directly to him would be a good idea.
> > 
> To summarize: both gcl-2.6.7 and gcl-2.6.8pre2 pass address of actual
> data (which is what Axiom expects), gcl-2.6.8pre in build-improvements
> copies strings and passes address of the copy (which breaks hypertex
> interface).  When I change object_to_string in gcl-2.6.8pre to match
> that of gcl-2.6.7 (or gcl-2.6.8pre2) hypertex works.
> Since gcl-2.6.8pre2 seem to be latest gcl version Camm can probably
> just do nothing (just remember so that problem is not re-introduced
> later).
> Concerning build-improvements: I can use gcl-2.6.7 when testing hypertex.
> -- 
>                               Waldek Hebisch
> address@hidden 

Camm Maguire                                            address@hidden
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah

reply via email to

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