|
2001-04-04
| ||
| 14:03 | • Ticket [218688ffff] library(n) page out of date status still Closed with 3 o... artifact: 0552fd4af0 user: dgp | |
|
2000-10-26
| ||
| 08:27 | • Closed ticket [218688ffff]. artifact: d1f2921ca7 user: welch | |
| 01:04 | • New ticket [218688ffff]. artifact: aa2ad7904c user: nobody | |
library(n) page out of date
Closed / Fixed218688ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:04:08
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.
welch Closed ticket [218688ffff].
[History diff]2000-10-26 08:27:11
dgp Ticket [218688ffff]: 3 changes
[History diff]2001-04-04 14:03:31
Log in (anonymous is fine) to add a comment.