05e8316
diff -up Python-2.7.2/Lib/whichdb.py.gdbm-1.9-magic Python-2.7.2/Lib/whichdb.py
05e8316
--- Python-2.7.2/Lib/whichdb.py.gdbm-1.9-magic	2011-06-11 11:46:26.000000000 -0400
05e8316
+++ Python-2.7.2/Lib/whichdb.py	2011-09-30 15:45:21.778872290 -0400
05e8316
@@ -91,7 +91,7 @@ def whichdb(filename):
05e8316
         return ""
05e8316
 
05e8316
     # Check for GNU dbm
05e8316
-    if magic == 0x13579ace:
05e8316
+    if magic in (0x13579ace, 0x13579acd, 0x13579acf):
05e8316
         return "gdbm"
05e8316
 
05e8316
     # Check for old Berkeley db hash file format v2
05e8316
diff -up Python-2.7.2/Misc/NEWS.gdbm-1.9-magic Python-2.7.2/Misc/NEWS