You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by "David N. Welton" <da...@dedasys.com> on 2005/07/15 22:15:28 UTC

separate virtual interps problem, configuration behavior

Hi,

I made a rather important change in the sources, for anyone using
separate virtual interpreters, going from:

	Tcl_GetBoolean (NULL, var, &rsc->separate_virtual_interps);

(which will always fail) to

	Tcl_GetBoolean (NULL, val, &rsc->separate_virtual_interps);

One little nasty 'r'... doh!

Also, I have another question for Damon and Karl.  Is the else on about
line 949 doing the right thing?

    .....
    } else if( STREQU( var, "UploadFilesToVar" ) ) {
	Tcl_GetBoolean (NULL, val, &rsc->upload_files_to_var);
    } else if( STREQU( var, "SeparateVirtualInterps" ) ) {
	Tcl_GetBoolean (NULL, val, &rsc->separate_virtual_interps);
    } else {
	string = Rivet_SetScript( cmd->pool, rsc, var, val);
    }

Shouldn't it be saying "no way dude, you didn't give me a valid
configuration directive!".  Actually, looking deeper, it's
Rivet_SetScript that ought to barf up a hairball.

Ciao,
-- 
David N. Welton
- http://www.dedasys.com/davidw/

Apache, Linux, Tcl Consulting
- http://www.dedasys.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org


Re: separate virtual interps problem, configuration behavior

Posted by "David N. Welton" <da...@dedasys.com>.
I think the virtual interps bugs merits a new release.  Shall we call it
0.6.0 or 0.5.1?

I vote +1 for 0.6.0

-- 
David N. Welton
- http://www.dedasys.com/davidw/

Apache, Linux, Tcl Consulting
- http://www.dedasys.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org