diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-12-23 13:57:12 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-12-23 13:57:12 -0500 |
commit | 8b46da37a3d01169292b7982818947a4219e1bec (patch) | |
tree | 41af66c556c4cdd42cf0a8512275f38c816eed6a /libre/python2-libre/gdbm-magic-values.patch | |
parent | 8b024219267fe0dfe3a251ff966af66a1fd23d7b (diff) | |
parent | f7ad7579f473125b44db30248841e2d452f9547e (diff) | |
download | abslibre-8b46da37a3d01169292b7982818947a4219e1bec.tar.gz abslibre-8b46da37a3d01169292b7982818947a4219e1bec.tar.bz2 abslibre-8b46da37a3d01169292b7982818947a4219e1bec.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/abslibre
Diffstat (limited to 'libre/python2-libre/gdbm-magic-values.patch')
-rw-r--r-- | libre/python2-libre/gdbm-magic-values.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libre/python2-libre/gdbm-magic-values.patch b/libre/python2-libre/gdbm-magic-values.patch new file mode 100644 index 000000000..5613ae35c --- /dev/null +++ b/libre/python2-libre/gdbm-magic-values.patch @@ -0,0 +1,14 @@ +diff -up Python-2.7.2/Lib/whichdb.py.gdbm-1.9-magic Python-2.7.2/Lib/whichdb.py +--- Python-2.7.2/Lib/whichdb.py.gdbm-1.9-magic 2011-06-11 11:46:26.000000000 -0400 ++++ Python-2.7.2/Lib/whichdb.py 2011-09-30 15:45:21.778872290 -0400 +@@ -91,7 +91,7 @@ def whichdb(filename): + return "" + + # Check for GNU dbm +- if magic == 0x13579ace: ++ if magic in (0x13579ace, 0x13579acd, 0x13579acf): + return "gdbm" + + # Check for old Berkeley db hash file format v2 +diff -up Python-2.7.2/Misc/NEWS.gdbm-1.9-magic Python-2.7.2/Misc/NEWS + |