Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-05
08:23 • Ticket [218009ffff] Should reconsider the use of TCL_DBGX status still Close... artifact: 6c41c0c889 user: dgp
2000-10-26
08:12 • Closed ticket [218009ffff]. artifact: 1952dc3cad user: welch
00:52 • New ticket [218009ffff]. artifact: f4276129ba user: nobody

Should reconsider the use of TCL_DBGX

Closed / Fixed218009ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:52:03
OriginalBugID: 855 RFE
Version: 8.0.3
SubmitDate: '1998-11-25'
LastModified: '1999-12-14'
Severity: LOW
Status: Closed
Submitter: pat
ChangedBy: hobbs
OS: All Unix
OSVersion: Linux 2.0.33
Machine: NA
FixedDate: '2000-10-25'
FixedInVersion: 8.1
ClosedDate: '1999-12-14'


Date: Thu, 22 Oct 1998 10:10:35 -0700 (PDT)
Subject: tclConfig.sh and tkConfig.sh set variables incorrectly
From: [email protected]

ReproducibleScript:
source tclConfig.sh
echo $TCL_LIB_FILE

ObservedBehavior:
I get "libtcl8.0${TCL_DBGX}.so", with the name of the variable TCL_DBGX rather than its value.

DesiredBehavior:
I expect "libtcl8.0.so", since I built
the libraries without debugging.

Comments:
The problem is that tclConfig.sh quotes its values with single quotes ('), so variable substitution is NOT performed.  I have changed the files to use double quotes (") so that the variables are substituted.



This is correct, and when used in a makefile will be correctly
substituted (as TCL_DBGX is also defined).  At least, that's
what happens when Tk uses it. 
-- 12/14/1999 hobbs
welch Closed ticket [218009ffff]. [History diff]2000-10-26 08:12:11
dgp Ticket [218009ffff]: 3 changes [History diff]2001-04-05 08:23:13
Log in (anonymous is fine) to add a comment.