Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-7] src/lib/libc/db/hash



Module Name:    src
Committed By:   snj
Date:           Thu Aug  6 21:50:36 UTC 2015

Modified Files:
        src/lib/libc/db/hash [netbsd-7]: hash.c

Log Message:
Pull up following revision(s) (requested by christos in ticket #921):
        lib/libc/db/hash/hash.c: revision 1.34
        lib/libc/db/hash/hash.c: revision 1.35
Delay moving to the next key until the next iteration. This avoids returning
invalid data to the user if the user deletes the current key, but it also
fails to iterate over some keys as will be shown by a unit test. From FreeBSD.
--
Fix hash iteration that deletes the current element under the cursor by
adjusting the position of the iterator appropriately.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.33.4.1 src/lib/libc/db/hash/hash.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index