]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Skip Montanaro:
authorGuido van Rossum <guido@python.org>
Tue, 8 Jun 1999 13:13:16 +0000 (13:13 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 8 Jun 1999 13:13:16 +0000 (13:13 +0000)
commitcf09a3924f80ec7dfc706c49f8b7c60c990e594b
tree22ccd34be2ee4fccb587606b7f142dd8448a0800
parentab6a08a4b6e4a12339cb33e4cd14fdf8426c346b
Skip Montanaro:

I guess in 1.5.2 a new module, whichdb, was added that attempts to
divine the nature of a database file.  This module doesn't know anything
about Berkeley DB v2 files.  In v2, Sleepycat added a 12-byte null pad
in front of the old magic numbers (at least for hash and btree files).
I've been using v2 for awhile and upgrading to 1.5.2 broke all my
anydbm.open calls. I believe the following patch corrects the problem.
Lib/whichdb.py