Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-06-15
15:58 • Closed ticket [430514ffff]: Add TclSetEnv,TclUnsetEnv to tclInt.h plus 7 oth... artifact: 536741d4d0 user: mdejong
2001-06-06
16:10 • Ticket [430514ffff]: 4 changes artifact: 65a624ca1a user: dkf
06:35 • Add attachment stub.patch to ticket [430514ffff] artifact: 275d0cc046 user: mdejong
06:35 • Ticket [430514ffff] Add TclSetEnv,TclUnsetEnv to tclInt.h status still Open ... artifact: 238a42cbfe user: mdejong
2001-06-05
23:34 • New ticket [430514ffff]. artifact: 0d7c8600a2 user: mdejong

Add TclSetEnv,TclUnsetEnv to tclInt.h

Closed / Rejected430514ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-06-05 23:34:45
I have an application that makes use of
TclSetEnv from tclInt.h. Trouble is, the app
was just hacking it with an extern instead
of pulling in tclInt.h. To make a long
story short, it no longer works under both
Windows and Unix. The "fix" is to export
TclSetEnv in the same way that TclGetEnv
is already exported via the stub table.
Does anyone see a problem with doing this
for TclSetEnv and TclUnsetEnv? I have not
actually made changes to the stub table before
so I wanted someone else to ok this before
checking it in.

Mo
mdejongplain2001-06-06 06:35:30
File Added - 7051: stub.patch

Logged In: YES 
user_id=90858

Attached file.
dkfplain2001-06-06 16:10:23
Logged In: YES 
user_id=79902

Question: why not do it through manipulating the global env
array?  Perhaps I'm just stupid this morning (wouldn't be
the first time) but I don't see the need right now...
mdejongplain2001-06-15 15:58:06
Logged In: YES 
user_id=90858

Ok, I can't really come up with a good reason why I
should not just set the env var with Tcl_SetVar2.
Rejecting this patch.
Log in (anonymous is fine) to add a comment.

Attachments: