[Pvfs2-cvs] commit by dbonnie in pvfs2/src/common/quickhash:
quickhash.h
CVS commit program
cvs at parl.clemson.edu
Mon May 19 16:21:00 EDT 2008
Update of /anoncvs/pvfs2/src/common/quickhash
In directory parlweb1:/tmp/cvs-serv24828/src/common/quickhash
Modified Files:
Tag: cu-security-branch
quickhash.h
Log Message:
Fixed a bug in the quickhash string hash algorithm. Modified security-hash to work with the new capability datatypes.
Index: quickhash.h
===================================================================
RCS file: /anoncvs/pvfs2/src/common/quickhash/quickhash.h,v
diff -p -u -r1.16 -r1.16.8.1
--- quickhash.h 7 Nov 2007 16:54:20 -0000 1.16
+++ quickhash.h 19 May 2008 20:21:00 -0000 1.16.8.1
@@ -326,7 +326,7 @@ static inline int quickhash_64bit_hash(v
static inline int quickhash_string_hash(void *k, int table_size)
{
const char *str = (char *)k;
- uint32_t h, g;
+ uint32_t g, h = 0;
while(*str)
{
More information about the Pvfs2-cvs
mailing list