On 05.11.2006, at 01:11, Agustin Lopez wrote:
Thanks for the answer, Zoran!
Reading your post I think of I must find / replace
all the occurrences of
Tcl_SetObjResult(interp, Tcl_NewXXXObj(...));
by
Tcl_ResetResult(interp);
Tcl_SetXXXObj(Tcl_GetObjResult(interp), ...)
in all the code and libraries of aolserver?
(nsd, ns*, xotcl, tdom, ...)
Is it right?
Unfortunately yes. I believe it is better
that you ask the maintainers of the packages
to do that for you, as this would benefit
everyone.
It is not *strictly* necessary to do this
at every occurence. Only at those where you
anticipate that interp result may contain
a shared object. As this is not always
transparent to the casual reader, it is
in the end simpler to do a wholesale change.
Cheers
Zoran
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]>
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject:
field of your email blank.