ns_eval, funky, yet another little bit of AOLserver API I've never
personally used.
Vinod, good catch! If that's really the only use of ns_eval in
OpenACS, and replacing it with nsv fixes the problem, yes
definitely you should make the change! (And grep for any other
use of tcl_site_nodes, etc.) Nsv should be both clearer and faster,
anyway.
Also, sounds like ns_eval may be buggy in AOLserver 4.0, so please do
submit a bug report on SourceForge.
Ah, in AOLserver 3, ns_eval was a C command, but in 4.0 it's a Tcl
proc, in "aolserver/nsd/init.tcl
". It's quite short.
More importantly, the comments in the code make it clear that the
above tcl_site_nodes
usage is a misuse and abuse of
ns_eval, not what ns_eval is intended for:
# ns_eval --
#
# Evaluate a script which should contain
# new procs commands and then save the
# state of the procs for other interps
# to sync with on their next _ns_atalloc.