Menu

#264 logger 0.1 depends on Tcl 8.2

open
log (10)
2
2003-04-11
2003-02-25
Don Porter
No

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.

Discussion

  • Andreas Kupries

    Andreas Kupries - 2003-04-11

    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.

     
  • Andreas Kupries

    Andreas Kupries - 2003-04-11
    • priority: 5 --> 2