Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2096269db5166a894bf5c8992eb21868a749d5a1
Ticket: 3546275fffffffffffffffffffffffffffffffff
Align auto_execok search order with [exec] on Windows
User & Date: danckaert on 2012-07-20 09:57:17
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Extract from [exec] man page: "When attempting to execute an application, exec first searches for the name as it was specified. Then, in order, .com, .exe, and .bat are appended to the end of the specified name and it searches for the longer name."
    
    However, in [auto_execok], the search order is currently opposite: it first looks for all different extensions in the first directory of the search path. Then it goes on to the second directory in the search path, etc.
    
    The attached patch aligns [auto_execok] with [exec].
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "danckaert"
  10. subsystem changed to: "38. Init - Library - Autoload"
  11. title changed to:
    Align auto_execok search order with [exec] on Windows
    
  12. type changed to: "Patch"