Revision: 42203
http://brlcad.svn.sourceforge.net/brlcad/?rev=42203&view=rev
Author: brlcad
Date: 2011-01-13 03:12:49 +0000 (Thu, 13 Jan 2011)
Log Message:
-----------
catch the other place we create an interpreter too
Modified Paths:
--------------
brlcad/trunk/src/tclscripts/lib/Command.tcl
Modified: brlcad/trunk/src/tclscripts/lib/Command.tcl
===================================================================
--- brlcad/trunk/src/tclscripts/lib/Command.tcl 2011-01-13 03:01:27 UTC (rev
42202)
+++ brlcad/trunk/src/tclscripts/lib/Command.tcl 2011-01-13 03:12:49 UTC (rev
42203)
@@ -155,7 +155,9 @@
# Create new slave interp
interp delete $slaveInterp
- set slaveInterp [interp create]
+ if { [catch {set slaveInterp [interp create]} err] } {
+ error "Unable to reinitalize a slave interpreter"
+ }
# Create slave interp's aliases
foreach cmd $cmdlist {
@@ -193,7 +195,7 @@
eval itk_initialize $args
# thar be dragons here
- if { [catch {set slaveInterp [interp create]} error] } {
+ if { [catch {set slaveInterp [interp create]} err] } {
error "Unable to initalize a slave interpreter"
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits