fix for bad stdio constraint
Closed / Fixed454050ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-08-22 01:52:26
The stdio constraint is incorrectly referring to $tcltest instead of $::tcltest::tcltest, causing many tests to be skipped improperly. diff -r1.31 tcltest.tcl 1531c1531 < set f [open "|[list $tcltest tmp]" r] --- > set f [open "|[list $tcltest::tcltest tmp]" r]
hobbsplain2001-08-23 01:41:29
Logged In: YES user_id=72656 fixed in 8.4a4cvs head.
dgpplain2002-03-25 01:56:45
Logged In: YES user_id=80530 This is very confusing. A simple [variable tcltest] would cause the right variable to be referenced without depending on the fallback to resolving the variable name from the global namespace. The approach currently in use would be fragile to loading the tcltest namespace inside another, or to the creation of a child namespace also called tcltest. Version 2 of the tcltest package has already nicely encapsulated this as the [interpreter] command. I'm updating to just use that.
Log in (anonymous is fine) to add a comment.