*** posixmodule.c_dist Mon Apr 6 06:47:37 2009 --- posixmodule.c Wed Sep 23 03:34:59 2009 *************** *** 1977,1983 **** if (res == NULL) { free(tmpbuf); } ! } while ((res == NULL) && (errno == ERANGE)); Py_END_ALLOW_THREADS if (res == NULL) --- 1977,1983 ---- if (res == NULL) { free(tmpbuf); } ! } while ((res == NULL) && (errno == ERANGE) && bufsize < (1024*1024)); Py_END_ALLOW_THREADS if (res == NULL)