diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-11-19 22:52:23 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-11-19 22:52:23 (GMT) |
commit | 4bae2d5e46b5135dba523616fd0960fc915eb120 (patch) | |
tree | 730899029b05968513eadb26fe1e3c4ac22653d1 /Modules/socketmodule.c | |
parent | bc2fbc74edf3f6c451b823329a66413d9fcf1c55 (diff) | |
download | cpython-4bae2d5e46b5135dba523616fd0960fc915eb120.zip cpython-4bae2d5e46b5135dba523616fd0960fc915eb120.tar.gz cpython-4bae2d5e46b5135dba523616fd0960fc915eb120.tar.bz2 |
Getting rid of code dependent on GUSI or the MetroWerks compiler.
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); |