develooper Front page | perl.cvs.parrot | Postings from December 2008

[svn:parrot] r34126 - trunk/src/pmc

From:
cotto
Date:
December 19, 2008 18:10
Subject:
[svn:parrot] r34126 - trunk/src/pmc
Message ID:
20081220021032.88309CBA12@x12.develooper.com
Author: cotto
Date: Fri Dec 19 18:10:31 2008
New Revision: 34126

Modified:
   trunk/src/pmc/orderedhash.pmc

Log:
[pmc] fix cotto--'s fix to OrderedHash


Modified: trunk/src/pmc/orderedhash.pmc
==============================================================================
--- trunk/src/pmc/orderedhash.pmc	(original)
+++ trunk/src/pmc/orderedhash.pmc	Fri Dec 19 18:10:31 2008
@@ -583,7 +583,7 @@
         Hash * const h_dest = (Hash *)PMC_struct_val(dest);
         UINTVAL     i;
 
-        for (i = 0; i <= N_BUCKETS(hash->mask+1); i++) {
+        for (i = 0; i <= N_BUCKETS(hash->mask-1); i++) {
             HashBucket * const b      = hash->bs + i;
             void       * const key    = b->key;
 



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About