Thanks to visit codestin.com Credit goes to github.com
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.
1 parent fa6bc29 commit 7d28b6bCopy full SHA for 7d28b6b
1 file changed
Python/dynload_shlib.c
@@ -91,7 +91,8 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *shortname,
91
int i;
92
struct stat statb;
93
if (fstat(fileno(fp), &statb) == -1) {
94
- return PyErr_SetFromErrno(PyExc_IOError);
+ PyErr_SetFromErrno(PyExc_IOError);
95
+ return NULL;
96
}
97
for (i = 0; i < nhandles; i++) {
98
if (statb.st_dev == handles[i].dev &&
0 commit comments