Skip to content
Tcl Source Code History Of Ticket 832657ffffffffff
Login

History Of Ticket 832657ffffffffff

Artifacts Associated With Ticket 832657ffffffffff

  1. Ticket change [084d81f455] (rid 89541) by dgp on 2003-10-29 20:46:01:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      When constructing paths from the 
      executable name, the special meaning
      of /../ in a path name is not honored.
      
      For example, if you do a fresh build
      of Tcl and Tk in their unix directories,
      respectively, then cd to tk8.4.5/win
      and run
      
      $ ../unix/wish
      Application initialization failed: Can't find a usable
      init.tcl in the following directories: 
          /usr/local/lib/tcl8.4
      /local/src/tk8.4/win/../lib/tcl8.4
      /local/src/tk8.4/win/lib/tcl8.4
      /local/src/tk8.4/win/../library
      /local/src/tk8.4/win/library
      /local/src/tk8.4/win/tcl8.4.5/library
      /local/src/tk8.4/tcl8.4.5/library /usr/local/lib/tcl8.4
      
      
      
      This probably means that Tcl wasn't installed properly.
      
      Note that the third to last path in the search list is the
      one that should succeed, if the original path were
      normalized before processing.
      
      Fixing this means either correcting all three
      TclpInitLibraryPath routines, or normalizing the
      path before calling (only one caller).
      
      
    4. foundin initialized to: "obsolete: 8.4.5"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dgp"
    9. subsystem initialized to: "38. Init - Library - Autoload"
    10. title initialized to: "TclpInitLibraryPath fails for path containing .."
    11. type initialized to: "Bug"
  2. Ticket change [5ed11284ad] (rid 115695) by dgp on 2003-10-30 05:43:27:

    1. assignee changed to: "vincentdarley"
    2. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Here's a patch against core-8-4-branch that
      corrects the problem and passes all existing
      tests.  Needs review for potential problems.
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. priority changed to: "7 High"
    6. username: "dgp"
  3. Ticket change [fb5034b9ae] (rid 92037) by dgp on 2003-10-30 05:43:28:

    1. icomment:
      
      
      File Added - 65872: 832657.patch
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [1e8a1c8eb4] (rid 90995) by vincentdarley on 2003-10-30 19:46:34:

    1. icomment:
      Logged In: YES 
      user_id=32170
      
      The patch (being quite simple) is clearly ok.  I don't have
      time today, however, to be able to analyse what
      repercussions this might have.  Overall I think it can only
      be a good idea if the executable path is normalized.
      
      On the other hand one could argue that the
      TclpInitLibraryPath routines are clearly doing the "wrong
      thing" here, and that ought to be fixed anyway.
      
      
      
    2. login: "vincentdarley"
    3. mimetype: "text/plain"
    4. username: "vincentdarley"
  5. Ticket change [afc9b2631e] (rid 97873) by dgp on 2003-10-30 22:49:34:

    1. assignee changed to: "dgp"
  6. Ticket change [190006b64d] (rid 122748) by dgp on 2003-11-06 03:54:18:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      patch + new test applied for
      Tcl 8.4.5.
      
      Test only applied for HEAD,
      pending better fix of the
      individual TclpInitLibraryPath routines
      (each should be updated to use
      more modern Tcl_FS* routines
      for manipulating paths)
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. priority changed to: "4"
    5. username: "dgp"
  7. Ticket change [050c93d358] (rid 88982) by hobbs on 2003-11-07 04:43:21:

    1. icomment:
      Logged In: YES 
      user_id=72656
      
      Patch removed from 8.4 as it broke Windows flat out.  You 
      can't use the Tcl_FS functions at that point safely.  The init 
      is a very fragile place for what requires what.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  8. Ticket change [135141dde3] (rid 124193) by dgp on 2003-11-07 06:10:24:

    1. priority changed to: "8"
  9. Ticket change [6cd2edbe9d] (rid 128588) by dgp on 2003-11-10 23:54:30:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Here's a unix-only patch using a
      strategy that should be safe.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  10. Ticket change [626a0ee55d] (rid 92402) by dgp on 2003-11-10 23:54:31:

    1. icomment:
      
      
      File Deleted - 65872: 
      
      
      
      File Added - 67036: 832657.patch
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  11. Ticket change [e3226eefa5] (rid 87741) by dgp on 2003-11-11 00:47:33:

    1. assignee changed to: "kennykb"
    2. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Updated patch includes fix
      for windows too.  Seems the
      mac version needs no changes.
      
      Note that the win and unix
      code are largely the same; would
      be a good idea to factor out the
      common stuff into some generic routine.
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. username: "dgp"
  12. Ticket change [d964958d78] (rid 107605) by dgp on 2003-11-11 00:47:34:

    1. icomment:
      
      
      File Deleted - 67036: 
      
      
      
      File Added - 67041: 832657.patch
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  13. Ticket change [bf9fe14d35] (rid 102277) by dgp on 2003-11-11 02:25:28:

    1. icomment:
      
      
      File Added - 67058: 832657.patch
      
      Logged In: YES 
      user_id=80530
      
      
      Here's a simpler patch more
      narrowly focused.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  14. Add attachment "832657.patch" [43b6c0d562] (rid 116607) by dgp on 2003-11-11 02:25:28.

  15. Ticket change [55baa02e22] (rid 94199) by dgp on 2003-11-11 02:25:29:

    1. icomment:
      
      
      File Deleted - 67041: 
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  16. Ticket change [6de294de5e] (rid 128780) by dgp on 2003-11-11 03:34:32:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2003-11-10T20:34:32"
    3. closer changed to: "dgp"
    4. icomment:
      Logged In: YES 
      user_id=80530
      
      latest patch committed to
      HEAD and core-8-4-branch
      for 8.4.5+.
      
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. username: "dgp"