Tcl Source Code

View Ticket
Login
Ticket UUID: 3602289
Title: EnvTraceProc errors when env var doesn't exist
Type: Bug Version: current: 8.6.0
Submitter: pooryorick Created on: 2013-01-27 16:56:10
Subsystem: 08. Environment Variables Assigned To: hobbs
Priority: 5 Medium Severity:
Status: Open Last Modified: 2013-01-27 23:56:11
Resolution: None Closed By:
    Closed on:
Description:
EnvTraceProc returns a non-null pointer to an error string if the environment variable doesn't exist..  The attached patch, instead of returning an error, checks to see if the corresponding env element exists, and unsets it if it does.  With this changes, the test suite still passes for 8.5 and 8.6 (trunk).  This change is relevant to bug 3057639
User Comments: pooryorick added on 2013-01-27 23:56:11:

File Added - 459745: tclEnvTraceProc.diff

Attachments: