Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: aa2ad7904c34a0074848e6e0c2e5f9e6f64f277e
Ticket: 218688ffffffffffffffffffffffffffffffffff
library(n) page out of date
User & Date: nobody on 2000-10-26 01:04:08
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1739 Bug
    Version: 8.1b2
    SubmitDate: '1999-04-06'
    LastModified: '1999-04-09'
    Severity: SER
    Status: Released
    Submitter: pat
    ChangedBy: surles
    OS: Other
    Machine: NA
    FixedDate: '1999-04-09'
    FixedInVersion: 8.1b3
    ClosedDate: '2000-10-25'
    
    
    Name:
    Don Porter
    
    Comments:
    [auto_execok] hasn't returned 0 or 1 since Tcl 7.5, but the
        documentation
        has never caught up.
        
        Going back to Tcl 7.4, I can't find any evidence that [unknown] used the
        global variable 'unknown_active'.  That must be lost in the mists of
        history.  [unknown] uses the global variable 'unknown_pending'.
        
        This patch should be applied to the 8.0.x branch as well.
    
    Patch:
    Index: library.n
    ===================================================================
    RCS file: /cvsroot/tcl/doc/library.n,v
    retrieving revision 1.1.2.2
    diff -c -r1.1.2.2 library.n
    *** library.n   1998/11/11 04:08:14     1.1.2.2
    --- library.n   1999/04/06 22:47:33
    ***************
    *** 60,70 ****
      The following procedures are provided in the Tcl library:
      .TP
      \fBauto_execok \fIcmd\fR
    ! Determines whether there is an executable file by the name \fIcmd\fR.
      This command examines the directories in the current search path
    ! (given by the PATH environment variable) to see if there is an
    ! executable file named \fIcmd\fR in any of those directories.
    ! If so, it returns 1;  if not it returns 0.  \fBAuto_exec\fR
      remembers information about previous searches in an array
      named \fBauto_execs\fR;  this avoids the path search in
      future calls for the same \fIcmd\fR.  The command \fBauto_reset\fR
    --- 60,76 ----
      The following procedures are provided in the Tcl library:
      .TP
      \fBauto_execok \fIcmd\fR
    ! Determines whether there is an executable file or shell builtin
    ! by the name \fIcmd\fR.
    ! If so, it returns a list of arguments to be passed to \fBexec\fR 
    ! to execute the executable file or shell builtin named by \fIcmd\fR.
    ! If not, it returns an empty string.  
      This command examines the directories in the current search path
    ! (given by the PATH environment variable) in its search for an
    ! executable file named \fIcmd\fR.  On Windows platforms, the search
    ! is expanded with the same directories and file extensions as used
    ! by \fBexec\fR.
    ! \fBAuto_exec\fR
      remembers information about previous searches in an array
      named \fBauto_execs\fR;  this avoids the path search in
      future calls for the same \fIcmd\fR.  The command \fBauto_reset\fR
    ***************
    *** 276,283 ****
      Unix, words are comprised of numbers, letters or underscores.
      .VE
      .TP
    ! \fBunknown_active\fR
    ! This variable is set by \fBunknown\fR to indicate that it is active.
      It is used to detect errors where \fBunknown\fR recurses on itself
      infinitely.
      The variable is unset before \fBunknown\fR returns.
    --- 282,290 ----
      Unix, words are comprised of numbers, letters or underscores.
      .VE
      .TP
    ! \fBunknown_pending\fR
    ! Used by \fBunknown\fR to record the command(s) for which it is
    ! searching.
      It is used to detect errors where \fBunknown\fR recurses on itself
      infinitely.
      The variable is unset before \fBunknown\fR returns.
    
    PatchFiles:
    library.n
    
    
    
    04/09/1999 14:01 - surles - Applied suggested changes.
    
  4. foundin changed to: "obsolete: 8.1b2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "46. Traces"
  10. title changed to: "library(n) page out of date"
  11. type changed to: "Bug"