Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e62b47f2538ce4f2422c792ae4491f41b9c12d62
Ticket: 455642ffffffffffffffffffffffffffffffffff
Inconsistent $tcl_libPath and DISTNAME
User & Date: dgp on 2001-08-27 02:10:45
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    The routine TclpInitLibraryPath constructs a
    search path for Tcl, and stores it in the
    Tcl variable ::tcl_libPath.  The path is
    used in the search for an init.tcl file by
    the default operation of Tcl_Init().
    
    The intent is to include on this path the
    names of several directories, relative to
    the executable, where the init.tcl might be
    in any of the various directory layouts of Tcl,
    both installed and development.
    
    Some of the directories meant to represent
    the development directory layout include
    the name of the root directory.  In forming
    that name, the rule is followed that for
    alpha and beta releases, the name is
    tcl[info patchlevel], while for stable releases,
    the name is tcl[info tclversion].
    
    Looking at the name of the root directory
    created by Tcl's own 'make dist' target,
    however, the root directory name of a Tcl
    source distribution is:
    
    DISTNAME = tcl@TCL_VERSION@@TCL_PATCH_LEVEL@
    
    That is, the full patch level is always used.
    
    These different parts of Tcl should agree about
    what the root directory name of a Tcl source
    distribution is.
    
    Here's a patch, correcting TclpInitLibraryPath,
    and also correcting [tcl_findLibrary] so it
    remains consistent as well.
    
  4. foundin changed to: "obsolete: 8.4a4"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "38. Init - Library - Autoload"
  10. title changed to: "Inconsistent $tcl_libPath and DISTNAME"
  11. type changed to: "Bug"