Skip to content
Tcl Source Code History Of Ticket 1244733
Login

History Of Ticket 1244733

Artifacts Associated With Ticket 1244733

  1. Ticket change [8fce183b80] (rid 120339) by techentin on 2005-07-25 19:33:25:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      auto_execok can return relative path names.
      
      On Windows, "." is one of the standard search
      directories.  And on Unix, empty directories in the
      path are treated as ".".  In these cases, [file
      executable] is successful, and auto_execok returns
      something like "./myfile"
      
      It works fine until your application changes working
      directory.  Then relative path names are broken.
      
      Perhaps auto_execok should use [file normalize] before
      returning.
      
      
      
    4. foundin initialized to: "obsolete: 8.4.11"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "techentin"
    9. subsystem initialized to: "38. Init - Library - Autoload"
    10. title initialized to: "auto_execok can return relative path names"
    11. type initialized to: "Bug"
  2. Ticket change [dfac2b4fa8] (rid 115050) by dgp on 2005-11-02 01:57:39:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Since the purpose of [auto_execok]
      is to return something suitable for
      passing to [exec], applying [file normalize]
      to the return value can only make things
      more robust.   So, I think this is a good idea.
      
      One wrinkle in the plan is that [file normalize]
      isn't present in safe interps.
      
      Another issue is that freewrap seems to
      have issues with [file normalize] (see 1072136)
      
      if someone can resolve those issues, we
      can move forward with this.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [e4d4aa7e60] (rid 253649) by apnadkarni on 2026-05-18 10:28:52:

    1. closedate changed to: "2461178.9367132522"
    2. closer changed to: "apnadkarni"
    3. comment changed to:
      auto_execok can return relative path names.
      
      On Windows, "." is one of the standard search
      directories.  And on Unix, empty directories in the
      path are treated as ".".  In these cases, [file
      executable] is successful, and auto_execok returns
      something like "./myfile"
      
      It works fine until your application changes working
      directory.  Then relative path names are broken.
      
      Perhaps auto_execok should use [file normalize] before
      returning.
      
    4. icomment:
      Fixed for 9.1 in TIP 753 commit [de961e8d](https://core.tcl-lang.org/tcl/info/de961e8dee5470e6).
      
      Paths are not cached - see the TIP and discussion. Tested in `auto_execok-win-6.1`.
      
    5. login: "apnadkarni"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. severity changed to: "Minor"
    9. status changed to: "Closed"