Skip to content
Tcl Source Code View Ticket
Login

View Ticket

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: