diff options
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r-- | Modules/socketmodule.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 427fb29..f93da4e 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -1739,11 +1739,6 @@ sock_makefile(PySocketSockObject *s, PyObject *args) SOCKETCLOSE(fd); return s->errorhandler(); } -#ifdef USE_GUSI2 - /* Workaround for bug in Metrowerks MSL vs. GUSI I/O library */ - if (strchr(mode, 'b') != NULL) - bufsize = 0; -#endif f = PyFile_FromFile(fp, "<socket>", mode, fclose); if (f != NULL) PyFile_SetBufSize(f, bufsize); |