Skip to content
Tcl Source Code History Of Ticket 217800
Login

History Of Ticket 217800

Artifacts Associated With Ticket 217800

  1. Ticket change [9c2e5495c2] (rid 111240) by nobody on 2000-10-26 00:43:51:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 989 Bug
      Version: 8.1b1
      SubmitDate: '1998-12-17'
      LastModified: '1999-01-15'
      Severity: LOW
      Status: Closed
      Submitter: pat
      ChangedBy: pat
      RelatedBugIDs: 976
      OS: Windows NT
      OSVersion: 4.0SP3
      Machine: X86
      FixedDate: '2000-10-25'
      ClosedDate: '1999-01-15'
      
      
      Name:
      
      Jan Nijtmans
      
      
      
      ReproducibleScript:
      
      When running tclsh81.exe from the command line, I get:
      
          Can't find a usable init.tcl in the following directories:
      
           ...........
      
          This probably means that Tcl wasn't installed properly.
      
      
      
      
      
      
      
      
      
      ObservedBehavior:
      
      The "[info nameofexecutable]/../../library" is not among the
      
      listed directories. This but was also reported for Tcl8.0.3
      
      and solved in Tcl8.0.4, so I would be logical to solve it the
      
      same way now.
      
      
      
      
      
      
      
      Patch:
      
      First, copy the "tclInitScript.h" file from tcl8.0.4. That still doesn't solve
      
      the problem, because the variable $tclDefaultLibrary doesn't exist.
      
      As a temporary workaround, I did:
      
      *** tclWinInit.c.origWed Nov 11 05:09:19 1998
      
      --- tclWinInit.cMon Dec 14 17:27:42 1998
      
      ***************
      
      *** 554,559 ****
      
      --- 554,560 ----
      
        }
      
        Tcl_DStringFree(&ds);
      
            }
      
      +     Tcl_SetVar(interp, "tclDefaultLibrary", "", TCL_GLOBAL_ONLY);
      
        }
      
        
      
        /*
      
      
      
      
      
      
      
      
      
      PatchFiles:
      
      tclInitScript.h tclWinInit.c
      
      
      
      
      
      
      
      
      
      The patch for tclWinInit.c just sets the tclDefaultLibrary variable to the
      empty string, but in fact it should be retrieved from the registry in
      the same way as Tcl8.0.4.
      tclUnixInit.c should be modified to set the tclDefaultLibrary variable as well.
      
      01/15/1999 11:57 - pat - closed as a duplicate of bug 976
      
    4. foundin initialized to: "obsolete: 8.1b1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to:
      Running tclsh81.exe from its build directory doesn't work
      
    11. type initialized to: "Bug"
  2. Ticket change [6508bff63f] (rid 92874) by welch on 2000-10-26 07:49:18:

    1. closedate changed to: "2000-10-26T00:49:18"
    2. closer changed to: "welch"
    3. priority changed to: "1 Zero"
    4. resolution changed to: "Duplicate"
    5. status changed to: "Closed"
  3. Ticket change [046df7ac25] (rid 119999) by dgp on 2001-04-13 22:56:48:

    1. closedate changed to: "2001-04-13T15:56:48"
    2. closer changed to: "dgp"
    3. subsystem changed to: "38. Init - Library - Autoload"