]> granicus.if.org Git - python/commit
Fix bug introduced in revision 58385. Database keys could no longer
authorGregory P. Smith <greg@mad-scientist.com>
Thu, 1 Nov 2007 21:08:14 +0000 (21:08 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Thu, 1 Nov 2007 21:08:14 +0000 (21:08 +0000)
commitaae141a7513bb6ff44834f9a2459632d7a5f6b00
tree72d98580a040674876bdb2919f2ac950e967e9b0
parent744b32a544bae1bd4e40730802103ae823f3c673
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.
Lib/bsddb/test/test_misc.py
Modules/_bsddb.c