Overview
| Artifact ID: | aa2ad7904c34a0074848e6e0c2e5f9e6f64f277e |
|---|---|
| Ticket: | 218688ffffffffffffffffffffffffffffffffff
library(n) page out of date |
| User & Date: | nobody on 2000-10-26 01:04:08 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- 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. - foundin changed to: "obsolete: 8.1b2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "46. Traces"
- title changed to: "library(n) page out of date"
- type changed to: "Bug"