summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2006-04-06 18:57:12 (GMT)
committerdgp <dgp@users.sourceforge.net>2006-04-06 18:57:12 (GMT)
commit9e35ea94dcd42f5e73079f336cb7cf2203d12fa0 (patch)
treecde23570e7f6028f7584c289fbc6c5741a8f3bca /doc
parent3f1c1ec58cead68c012913ca28270da726ca2dcb (diff)
downloadtcl-9e35ea94dcd42f5e73079f336cb7cf2203d12fa0.zip
tcl-9e35ea94dcd42f5e73079f336cb7cf2203d12fa0.tar.gz
tcl-9e35ea94dcd42f5e73079f336cb7cf2203d12fa0.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')
-rw-r--r--doc/GetIndex.34
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/GetIndex.3 b/doc/GetIndex.3
index 82f978a..8ed972b 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.10.2.1 2003/07/18 15:20:51 dgp Exp $
+'\" RCS: @(#) $Id: GetIndex.3,v 1.10.2.2 2006/04/06 18:57:24 dgp Exp $
'\"
.so man.macros
.TH Tcl_GetIndexFromObj 3 8.1 Tcl "Tcl Library Procedures"
@@ -64,7 +64,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