From e7951976adc69c3290540fe5a1c6f65c374220bc Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 16 Dec 1997 23:58:15 +0000 Subject: [PATCH] Fix mysterious undetected error -- call to non-existant Py_Err_SetStr() which shoulda coulda woulda oughta been PyErr_SetString(). --- Modules/dlmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/dlmodule.c b/Modules/dlmodule.c index 9d7ce71d81d..76d05401797 100644 --- a/Modules/dlmodule.c +++ b/Modules/dlmodule.c @@ -230,7 +230,7 @@ initdl() if (sizeof(int) != sizeof(long) || sizeof(long) != sizeof(char *)) { - Py_Err_SetStr( + PyErr_SetString(PyExc_SystemError, "module dl requires sizeof(int) == sizeof(long) == sizeof(char*)"); return; }