summaryrefslogtreecommitdiff
path: root/testing/python/gdbm-magic-values.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/python/gdbm-magic-values.patch')
-rw-r--r--testing/python/gdbm-magic-values.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/testing/python/gdbm-magic-values.patch b/testing/python/gdbm-magic-values.patch
deleted file mode 100644
index e8ce828cf..000000000
--- a/testing/python/gdbm-magic-values.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -up Python-3.2.2/Lib/dbm/__init__.py.gdbm-1.9-magic Python-3.2.2/Lib/dbm/__init__.py
---- Python-3.2.2/Lib/dbm/__init__.py.gdbm-1.9-magic 2011-09-03 12:16:40.000000000 -0400
-+++ Python-3.2.2/Lib/dbm/__init__.py 2011-09-30 15:47:27.488863694 -0400
-@@ -166,7 +166,7 @@ def whichdb(filename):
- return ""
-
- # Check for GNU dbm
-- if magic == 0x13579ace:
-+ if magic in (0x13579ace, 0x13579acd, 0x13579acf):
- return "dbm.gnu"
-
- # Later versions of Berkeley db hash file have a 12-byte pad in
-diff -up Python-3.2.2/Misc/NEWS.gdbm-1.9-magic Python-3.2.2/Misc/NEWS