merge heads

This commit is contained in:
Senthil Kumaran 2011-06-20 07:37:59 -07:00
commit 54e647f215
1 changed files with 4 additions and 0 deletions

View File

@ -3567,6 +3567,10 @@ call_find_module(PyObject *name, PyObject *path_list)
if (fd != -1)
fd = dup(fd);
fclose(fp);
if (fd == -1) {
PyErr_SetFromErrno(PyExc_OSError);
return NULL;
}
fp = NULL;
}
if (fd != -1) {