summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgeorgeps <georgeps>2007-10-08 19:49:09 (GMT)
committergeorgeps <georgeps>2007-10-08 19:49:09 (GMT)
commit24ecfcf4b36dc14c2174488ed4f0162ee93f0651 (patch)
tree7eb8d8074e328e77f176ef38f80e3aea3caaa6e9
parent59e65563264c3248be60d5386869e66413d0f859 (diff)
downloadtcl-24ecfcf4b36dc14c2174488ed4f0162ee93f0651.zip
tcl-24ecfcf4b36dc14c2174488ed4f0162ee93f0651.tar.gz
tcl-24ecfcf4b36dc14c2174488ed4f0162ee93f0651.tar.bz2
Correct the usage of flags.
-rw-r--r--ChangeLog5
-rw-r--r--doc/Hash.34
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e65f7b4..445a1f6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-08 George Peter Staplin <georgeps@xmission.com>
+
+ * doc/Hash.3: Correct the valid usage of the flags member for the
+ Tcl_HashKeyType. It should be 0 or more of the flags mentioned.
+
2007-10-02 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tcl.h (Tcl_DecrRefCount): Update change from 2006-05-29
diff --git a/doc/Hash.3 b/doc/Hash.3
index eae772e..fb6a421 100644
--- a/doc/Hash.3
+++ b/doc/Hash.3
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: Hash.3,v 1.19 2007/07/31 17:03:35 msofer Exp $
+'\" RCS: @(#) $Id: Hash.3,v 1.20 2007/10/08 19:49:10 georgeps Exp $
'\"
.so man.macros
.TH Tcl_Hash 3 "" Tcl "Tcl Library Procedures"
@@ -251,7 +251,7 @@ structure is extended in future then the version can be used
to distinguish between different structures. It should be set
to \fBTCL_HASH_KEY_TYPE_VERSION\fR.
.PP
-The \fIflags\fR member is one or more of the following values OR'ed together:
+The \fIflags\fR member is 0 or the following values OR'ed together:
.IP \fBTCL_HASH_KEY_RANDOMIZE_HASH\fR 25
There are some things, pointers for example which don't hash well
because they do not use the lower bits. If this flag is set then the