From a293b927370c968dbe200efe5fe7f48ba3b2ff05 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Fri, 16 Jan 2009 20:25:35 +0000 Subject: [PATCH] Merged revisions 68638 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r68638 | mark.dickinson | 2009-01-16 19:31:13 +0000 (Fri, 16 Jan 2009) | 3 lines Define PY_SSIZE_T_CLEAN at the top of the dbm module. This should fix the segfaults on the PPC64/Debian buildbots. ........ --- Modules/_dbmmodule.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/_dbmmodule.c b/Modules/_dbmmodule.c index 57755111a6a7..80c73bf0da26 100644 --- a/Modules/_dbmmodule.c +++ b/Modules/_dbmmodule.c @@ -2,6 +2,7 @@ /* DBM module using dictionary interface */ +#define PY_SSIZE_T_CLEAN #include "Python.h" #include -- 2.47.3