diff options
author | dgp <dgp@users.sourceforge.net> | 2006-04-06 18:57:57 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2006-04-06 18:57:57 (GMT) |
commit | 66eb0f67f7cc2d152c918f5ccfe94cd89a7581fe (patch) | |
tree | a534618cc4c2f2aaf245bbb836151adc72a04975 /doc/GetIndex.3 | |
parent | 5236fc67c64ed64fa5b75bc48a4ef5dd2ae44e0f (diff) | |
download | tcl-66eb0f67f7cc2d152c918f5ccfe94cd89a7581fe.zip tcl-66eb0f67f7cc2d152c918f5ccfe94cd89a7581fe.tar.gz tcl-66eb0f67f7cc2d152c918f5ccfe94cd89a7581fe.tar.bz2 |
* generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): It seems
* tests/indexObj.test: there are extensions that rely on the prior
* doc/GetIndex.3: behavior that the empty string cannot succeed
as a unique prefix matcher, so I'm restoring Donal Fellow's solution.
Added mention of this detail to the documentation. [Bug 1464039]
Diffstat (limited to 'doc/GetIndex.3')
-rw-r--r-- | doc/GetIndex.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/GetIndex.3 b/doc/GetIndex.3 index f476ea5..4b4a220 100644 --- a/doc/GetIndex.3 +++ b/doc/GetIndex.3 @@ -4,7 +4,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: GetIndex.3,v 1.18 2005/05/10 18:33:56 kennykb Exp $ +'\" RCS: @(#) $Id: GetIndex.3,v 1.19 2006/04/06 18:57:58 dgp Exp $ '\" .so man.macros .TH Tcl_GetIndexFromObj 3 8.1 Tcl "Tcl Library Procedures" @@ -60,7 +60,7 @@ an object must be one of a predefined set of values. \fIObjPtr\fR is compared against each of the strings in \fItablePtr\fR to find a match. A match occurs if \fIobjPtr\fR's string value is identical to one of the strings in -\fItablePtr\fR, or if it is a unique abbreviation +\fItablePtr\fR, or if it is a non-empty unique abbreviation for exactly one of the strings in \fItablePtr\fR and the \fBTCL_EXACT\fR flag was not specified; in either case the index of the matching entry is stored at \fI*indexPtr\fR |