Commit e7951976 authored by Guido van Rossum's avatar Guido van Rossum

Fix mysterious undetected error -- call to non-existant Py_Err_SetStr()

which shoulda coulda woulda oughta been PyErr_SetString().
parent 7988206c
...@@ -230,7 +230,7 @@ initdl() ...@@ -230,7 +230,7 @@ initdl()
if (sizeof(int) != sizeof(long) || if (sizeof(int) != sizeof(long) ||
sizeof(long) != sizeof(char *)) { sizeof(long) != sizeof(char *)) {
Py_Err_SetStr( PyErr_SetString(PyExc_SystemError,
"module dl requires sizeof(int) == sizeof(long) == sizeof(char*)"); "module dl requires sizeof(int) == sizeof(long) == sizeof(char*)");
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment