]> granicus.if.org Git - python/commitdiff
Define PY_SSIZE_T_CLEAN at the top of the dbm module. This should fix the
authorMark Dickinson <dickinsm@gmail.com>
Fri, 16 Jan 2009 19:31:13 +0000 (19:31 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Fri, 16 Jan 2009 19:31:13 +0000 (19:31 +0000)
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>