]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fixes issue1371 and reenables those tests.
authorGregory P. Smith <greg@mad-scientist.com>
Thu, 1 Nov 2007 21:55:08 +0000 (21:55 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Thu, 1 Nov 2007 21:55:08 +0000 (21:55 +0000)
commit568065e9d152ed495775a767968a8749fe78a75c
tree1df5f9cc6364ed2f4183c65cd3197e2e30fce5dc
parent48decfe7403bc1dda386cc469b28236c8de018d2
Fixes issue1371 and reenables those tests.

Merge r58757 and r58758 from trunk.
Undoes incorrect dbtables fix and errant strdup introduced as
described below:

r58757 | gregory.p.smith | 2007-11-01 14:08:14 -0700 (Thu, 01 Nov 2007) | 4 lines

Fix bug introduced in revision 58385.  Database keys could no longer
have NULL bytes in them.  Replace the errant strdup with a
malloc+memcpy.  Adds a unit test for the correct behavior.

r58758 | gregory.p.smith | 2007-11-01 14:15:36 -0700 (Thu, 01 Nov 2007) | 3 lines

Undo revision 58533 58534 fixes.  Those were a workaround for
a problem introduced by 58385.
Lib/bsddb/dbtables.py
Lib/bsddb/test/test_misc.py
Modules/_bsddb.c