Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b73a718949964e2d6a9d9cd5353b0f1ed4bd5441
Ticket: 218755ffffffffffffffffffffffffffffffffff
Add <bindir>/tcl8.1 to library search path
User & Date: nobody on 2000-10-26 01:04:59
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2002 RFE
    Version: 8.1
    SubmitDate: '1999-05-07'
    LastModified: '1999-12-03'
    Severity: LOW
    Status: Released
    Submitter: pat
    ChangedBy: hobbs
    OS: Windows NT
    Machine: X86
    FixedDate: '1999-12-03'
    FixedInVersion: 8.2
    ClosedDate: '2000-10-25'
    
    
    Name: Petteri Kettunen
    
    Comments:
    This modification is specific to our build/runtime environment. We can
        not rely that end-users have set TCL_LIBRARY correctly. Having the
        libraries under <bindir>/tclX.X was the most simple solution that we
        could think. The same applies to Tk, too.
    
    DesiredBehavior:
    Add <bindir>/tcl8.1 to library search path.
    
    Patch:
    C:\oke\src\tcl>diff tclWinInit.c tclWinInit.c.old
    295,306d294
    <       if (pathc > 0) {
    <           /*
    <              *  <bindir>/<installLib>
    <              *                (e.g. c:/usr/local/bin/tcl8.1)
    <              */
    <           sprintf(installLib, "tcl%s", TCL_VERSION);
    <           pathv[0] = installLib;
    <           path = Tcl_JoinPath(1, pathv, &ds);
    <           objPtr = Tcl_NewStringObj(installLib, Tcl_DStringLength(&ds));
    <           Tcl_ListObjAppendElement(NULL, pathPtr, objPtr);
    <           Tcl_DStringFree(&ds);
    <       }
    
    PatchFiles:
    win\tclWinInit.c
    
    
    
    Tcl already searches in the same directory as the executable
    for the DLLs, and 8.2 has an improved search heuristic. 
    -- 12/03/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "Add <bindir>/tcl8.1 to library search path"
  11. type changed to: "RFE"