In a message dated 7/4/2003 7:23:47 PM Eastern Daylight Time,
[EMAIL PROTECTED] writes:
I discovered that when the function is called multiple
times with the same interp.
Ns_TclEnterSet(interp , A_Ns_Set
, NS_TCL_SET_TEMPORARY | NS_TCL_SET_DYNAMIC);
the interp->result is
not set to the value (Ns_Set ID) from the last call, instead the function
appends the new value to the interp->result value, with ervery call to
Ns_TclEnterSet the interp->result value grows to a space separated list of
Ns_Set Id's.
Is this supposed to be like that in AolServer4 ? The
mod porting guid is not saying anything about a change to this
function. Does this func. get replaced by the Tcl_Get/SetAssocDatas API
?
Hello,
Appending to the list is as intended. I think you're right
that it's a change from previous versions -- should be noted in the porting
guide.
-Jim
--
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.
|