We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a3852ff + 7d28b6b commit 26421abCopy full SHA for 26421ab
1 file changed
Python/dynload_shlib.c
@@ -82,7 +82,8 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *shortname,
82
int i;
83
struct stat statb;
84
if (fstat(fileno(fp), &statb) == -1) {
85
- return PyErr_SetFromErrno(PyExc_IOError);
+ PyErr_SetFromErrno(PyExc_IOError);
86
+ return NULL;
87
}
88
for (i = 0; i < nhandles; i++) {
89
if (statb.st_dev == handles[i].dev &&
0 commit comments