[Python-checkins] r68638 - python/branches/py3k/Modules/_dbmmodule.c

mark.dickinson python-checkins at python.org
Fri Jan 16 20:31:13 CET 2009


Author: mark.dickinson
Date: Fri Jan 16 20:31:13 2009
New Revision: 68638

Log:
Define PY_SSIZE_T_CLEAN at the top of the dbm module.  This should fix the
segfaults on the PPC64/Debian buildbots.


Modified:
   python/branches/py3k/Modules/_dbmmodule.c

Modified: python/branches/py3k/Modules/_dbmmodule.c
==============================================================================
--- python/branches/py3k/Modules/_dbmmodule.c	(original)
+++ python/branches/py3k/Modules/_dbmmodule.c	Fri Jan 16 20:31:13 2009
@@ -2,6 +2,7 @@
 /* DBM module using dictionary interface */
 
 
+#define PY_SSIZE_T_CLEAN
 #include "Python.h"
 
 #include <sys/types.h>


More information about the Python-checkins mailing list