]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Merged revisions 68638 via svnmerge from
authorMark Dickinson <dickinsm@gmail.com>
Fri, 16 Jan 2009 20:25:35 +0000 (20:25 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Fri, 16 Jan 2009 20:25:35 +0000 (20:25 +0000)
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

index 57755111a6a7730e0cc4c51acb149c75f75aa159..80c73bf0da2649ce9a5078d4bb4d9eff000c63bb 100644 (file)
@@ -2,6 +2,7 @@
 /* DBM module using dictionary interface */
 
 
+#define PY_SSIZE_T_CLEAN
 #include "Python.h"
 
 #include <sys/types.h>