Tk Library Source Code

View Ticket
Login
Ticket UUID: 2010798
Title: variable pollution on package require md5
Type: Bug Version: None
Submitter: juliannoble Created on: 2008-07-04 16:50:18
Subsystem: md5 Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2008-07-05 01:28:20
Resolution: Fixed Closed By: andreas_kupries
    Closed on: 2008-07-04 18:28:20
Description:
The final 'namespace eval' in md5x.tcl seems to have a 'creative writing' problem regarding the variable e.

e.g

% set e myvalue
myvalue
% package require md5
2.0.5
%set e
critcl


Looking in cvs - it seems an 'unset e' has been added, but this isn't enough, as the original e is still the variable being written to.

Looks like it just needs an extra line:
variable e
User Comments: andreas_kupries added on 2008-07-05 01:28:20:
Logged In: YES 
user_id=75003
Originator: NO

Thanks. Committed the fix to the CVS head. Bumped package version to 2.0.7.