Tcl Library Source Code

View Ticket
Login
Ticket UUID: 693059
Title: logger 0.1 depends on Tcl 8.2
Type: Bug Version: None
Submitter: dgp Created on: 2003-02-25 18:01:01
Subsystem: log Assigned To: andreas_kupries
Priority: 2 Severity:
Status: Open Last Modified: 2003-04-12 03:09:27
Resolution: None Closed By:
    Closed on:
Description:
The command [string map] is used in logger 0.1.

Thus, logger 0.1 ought to

  package require Tcl 8.2

and ought to have an index script that
prevents loading in a pre-8.2 interp.

However, logger 0.1 shares its index script
with log 1.0.1, which does not require Tcl 8.2;
it can happily load in Tcl 8.0.

The best way to fix both packages is to see
to it that they get installed with separate
index scripts.  The simplest way to
accomplish that is to move the logger
package into its own subdirectory of
tcllib's modules directory.
User Comments: andreas_kupries added on 2003-04-12 03:09:27:
Logged In: YES 
user_id=75003

Just looked at the the index script. It orders the conditions 
such that then logger is registered, log is too. I.e. the 
restrictive condition for logger comes after log is registered, 
after a less restrictive condition.

That is not beautiful, but does work.
Priority down.