Tk Library Source Code

View Ticket
Login
Ticket UUID: 547336
Title: [package require Trf] twice
Type: Bug Version: None
Submitter: dgp Created on: 2002-04-23 00:34:58
Subsystem: smtp Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2002-04-24 03:31:46
Resolution: Fixed Closed By: andreas_kupries
    Closed on: 2002-04-23 20:31:46
Description:
There are two instances of
[catch {package require Trf}]
in smtp.tcl.  When there is no Trf package
installed, the invokes a costly [tclPkgUnknown]
in a default Tcl installation.  There's no
need to pay this price twice.  After the
first [package require] you have it if it's
available.  Use [package present] in the second
instance.
User Comments: andreas_kupries added on 2002-04-24 03:31:46:
Logged In: YES 
user_id=75003

Committed to head.

mrose added on 2002-04-23 11:59:08:

File Added - 21740: diff-u

Logged In: YES 
user_id=24077

andreas - apply this "diff -u" to resolve this.

Attachments: