Skip to content
Tcl Source Code History Of Ticket 218135
Login

History Of Ticket 218135

Artifacts Associated With Ticket 218135

  1. Ticket change [711e1e4412] (rid 100618) by nobody on 2000-10-26 00:53:35:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 2052 Bug
      Version: 8.1
      SubmitDate: '1999-05-12'
      LastModified: '1999-09-15'
      Severity: MED
      Status: Closed
      Submitter: pat
      ChangedBy: hobbs
      OS: SunOS
      OSVersion: 5.6
      Machine: Sparc
      FixedDate: '2000-10-25'
      ClosedDate: '1999-09-15'
      
      
      Name:
      Prasad A. Chodavarapu
      
      CustomShell:
      --threads-enabled
      
      ReproducibleScript:
      #include <tcl.h>
          #include <iostream.h>
          #include <assert.h>
          
          int main(int argc, char* argv[]) {
            Tcl_Interp* _interp = Tcl_CreateInterp();
            assert(_interp);
            //Tcl_FindExecutable(argv[0]);//upto and incl. 8.1b2, tcl didn't need
          this
            if (Tcl_Init(_interp) == TCL_ERROR) {
              cerr << Tcl_GetStringFromObj(Tcl_GetObjResult(_interp),NULL) <<
          endl;
              return -1;
            }
            return 0;
          }
      
      ObservedBehavior:
      Upto and incl. tcl8.1b2, we didn't need to necessarily call
          Tcl_FindExecutable(argv[0]) before calling Tcl_FindExecutable(argv[0])
          In tcl8.1 final release, Tcl_Init fails saying it cannot find init.tcl
          in the directory list {empty} even though TCL_LIBRARY environment
          variable is 
          correctly set to the directory where init.tcl resides.
          
          basically, Tcl_Init is ignoring the value of TCL_LIBRARY unless
          Tcl_FindExecutable(argv[0]) has been called. This is undesirable and not
          backwards incompatible.
      
      DesiredBehavior:
      As in previous versions, if TCL_LIBRARY is set, we shouldn't need to
          call Tcl_FindExecutable(argv[0]) before calling Tcl_Init(_interp)
      
      
      
      This change was made because without it, problems with encoding
      could occur.  While not well doc'ed this isn't a bug.  We are
      looking into maybe improving this for 8.3. 
      -- 09/15/1999 hobbs
      
    4. foundin initialized to: "obsolete: 8.1"
    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: "Tcl_Init fails if Tcl_FindExecutable wasn't called"
    11. type initialized to: "Bug"
  2. Ticket change [d40bff8a16] (rid 123382) by welch on 2000-10-26 08:15:55:

    1. closedate changed to: "2000-10-26T01:15:55"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [b2ad17be52] (rid 98379) by dgp on 2001-04-18 06:25:18:

    1. closedate changed to: "2001-04-17T23:25:18"
    2. closer changed to: "dgp"
    3. subsystem changed to: "38. Init - Library - Autoload"