Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fdaa3a3

Browse files
committed
Define PY_SSIZE_T_CLEAN at the top of the dbm module. This should fix the
segfaults on the PPC64/Debian buildbots.
1 parent 058e31e commit fdaa3a3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Modules/_dbmmodule.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/* DBM module using dictionary interface */
33

44

5+
#define PY_SSIZE_T_CLEAN
56
#include "Python.h"
67

78
#include <sys/types.h>

0 commit comments

Comments
 (0)