Skip to content
Tcl Source Code History Of Ticket 219281
Login

History Of Ticket 219281

Artifacts Associated With Ticket 219281

  1. Ticket change [d66c4f79ac] (rid 123803) by nobody on 2000-10-26 05:09:52:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 1908 RFE
      Version: 8.1b3
      SubmitDate: '1999-04-20'
      LastModified: '2000-10-25'
      Severity: MED
      Status: UnAssn
      Submitter: pat
      OS: Other
      Machine: NA
      FixedDate: '2000-10-25'
      ClosedDate: '2000-10-25'
      
      
      Name:
      Don Porter
      
      CVS:
      $Id: tclInitScript.h,v 1.9 1999/04/16 00:46:47 stanton Exp $$Id: auto.tcl,v 1.2 1999/04/16 00:46:56 stanton Exp $
      
      Comments:
      The error message might also notify some users that they have
          TCL_LIBRARY set unknowingly.  This might be helpful in tracking
          down errors that occur when upgrading to a new Tcl/Tk version.
      
      DesiredBehavior:
      When I set the environment variable TCL_LIBRARY, I expect
          the Tcl library to initialize using the scripts indicated
          by its value.  However, if an error occurs during evaluation
          of the script $TCL_LIBRARY/init.tcl, the Tcl library silently
          ignores it and proceeds to initialize using another init.tcl
          in its search path, never reporting the error.  Errors are
          reported only if no usable init.tcl can be found.
      
          This makes it difficult to test an alternative set of
          initialization scripts.  The user is led to believe the
          alternative scripts are working when they are not.  The user
          has to know to check that [info library] and $env(TCL_LIBRARY)
          are the same to verify that the alternative scripts are in use.
          If they are not in use, there was some error, but the error
          message and stack trace are lost so debugging is complicated.
      
      Patch:
      Index: generic/tclInitScript.h
      ===================================================================
      RCS file: /cvsroot/tcl/generic/tclInitScript.h,v
      retrieving revision 1.9
      diff -r1.9 tclInitScript.h
      33c33,37
      <               return\n ---
      >               if {[string length $errors]} {\n >                   error \"Failed 'init.tcl' evaluation(s):\n\n$errors\"\n >               } else {\n >                   return\n >               }\n Index: library/auto.tcl
      ===================================================================
      RCS file: /cvsroot/tcl/library/auto.tcl,v
      retrieving revision 1.2
      diff -r1.2 auto.tcl
      109c109,113
      <                 return
      ---
      >               if {[string length $errors]} {
      >                   error "Failed '$initScript' evaluation(s):\n\n$errors"
      >               } else {
      >                     return
      >               }
      
      PatchFiles:
      tclInitScript.h
          auto.tcl
      
      
      
      
      
    4. foundin initialized to: "obsolete: 8.1b3"
    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: "Don't silently ignore $env(TCL_LIBRARY)"
    11. type initialized to: "Bug"
  2. Ticket change [c55cccae39] (rid 111992) by dkf on 2001-01-31 17:34:32:

    1. subsystem changed to: "38. Init - Library - Autoload"
  3. Ticket change [1527afb343] (rid 124522) by dgp on 2001-02-01 01:30:33:

    1. icomment:
      Registered patch as #103528
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [537791492b] (rid 93762) by dgp on 2001-02-08 13:27:02:

    1. assignee changed to: "dgp"
  5. Ticket change [f0d4082703] (rid 109258) by dgp on 2008-04-15 04:08:24:

    1. closedate changed to: "2008-04-14T21:08:24"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      
      init.tcl now tests matching up to
      the patchlevel, which reduces
      the chance/severity of this matter.
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Out of Date"
    7. status changed to: "Closed"
    8. username: "dgp"