0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00

merge 3.3

This commit is contained in:
Benjamin Peterson 2013-07-22 22:08:17 -07:00
commit 26421ab302

View File

@ -82,7 +82,8 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *shortname,
int i;
struct stat statb;
if (fstat(fileno(fp), &statb) == -1) {
return PyErr_SetFromErrno(PyExc_IOError);
PyErr_SetFromErrno(PyExc_IOError);
return NULL;
}
for (i = 0; i < nhandles; i++) {
if (statb.st_dev == handles[i].dev &&