diff options
author | Guido van Rossum <guido@python.org> | 2002-08-01 21:12:35 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-08-01 21:12:35 (GMT) |
commit | b54c27c861ad71fc090939da4c5fdb4f5e3bc67c (patch) | |
tree | 7b82cbd37aecc4c5324175e84b1159e5c946bb43 /Lib/CGIHTTPServer.py | |
parent | f4be427c46c4508a9c2a14f5fd224ef6721784aa (diff) | |
download | cpython-b54c27c861ad71fc090939da4c5fdb4f5e3bc67c.zip cpython-b54c27c861ad71fc090939da4c5fdb4f5e3bc67c.tar.gz cpython-b54c27c861ad71fc090939da4c5fdb4f5e3bc67c.tar.bz2 |
Fix for SF bug 570678 (can't flush read-only file on Mac OS X).
Diffstat (limited to 'Lib/CGIHTTPServer.py')
-rw-r--r-- | Lib/CGIHTTPServer.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/CGIHTTPServer.py b/Lib/CGIHTTPServer.py index fbd82c9..0279117 100644 --- a/Lib/CGIHTTPServer.py +++ b/Lib/CGIHTTPServer.py @@ -193,7 +193,6 @@ class CGIHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): if '=' not in decoded_query: args.append(decoded_query) nobody = nobody_uid() - self.rfile.flush() # Always flush before forking self.wfile.flush() # Always flush before forking pid = os.fork() if pid != 0: |