Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 93f2549889e26934f1190fc66104835905b5f864
Ticket: 966053ffffffffffffffffffffffffffffffffff
stop repeated findExecutable searches
User & Date: dgp on 2004-06-03 19:47:41
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    Patch includes two improvements.
    
    1) In TclpFindExecutable() note that
    successful searches have been saved
    and returned forever.  Only one search
    permitted.  On the other hand, failed
    searches have been invited to come
    back and spend time and effort failing
    over and over again.  The changes
    to tclUnixFile.c make it so that a failure
    result is also saved and returned forever
    without the expense of repeating the
    search operations.
    
    2) In tclEncoding.c, I've renamed
    TclFindEncodings to FindEncodings
    to match its status as a file static
    routine.  That makes it clearer that
    the only caller is Tcl_FindExecutable,
    and that caller has already called
    TclpFindExecutable, so there's no
    need for FindEncodings to do it again.
    (The source  of some of the repetition
    addressed in 1) ).  Without the need
    to call TpFE, FindEncodings also needed
    no argument, so it was removed.
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "10. Objects"
  10. title changed to: "stop repeated findExecutable searches"
  11. type changed to: "Patch"