Artifacts Associated With Ticket 218688ffffffffff
Ticket change [aa2ad7904c] (rid 99278) by nobody on 2000-10-26 01:04:08:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized 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 initialized to: "obsolete: 8.1b2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "46. Traces"
- title initialized to: "library(n) page out of date"
- type initialized to: "Bug"
Ticket change [d1f2921ca7] (rid 113441) by welch on 2000-10-26 08:27:11:
- closedate changed to: "2000-10-26T01:27:11"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [0552fd4af0] (rid 89040) by dgp on 2001-04-04 14:03:31:
- closedate changed to: "2001-04-04T07:03:31"
- closer changed to: "dgp"
- subsystem changed to: "38. Init - Library - Autoload"