Commit b54c27c8 authored by Guido van Rossum's avatar Guido van Rossum

Fix for SF bug 570678 (can't flush read-only file on Mac OS X).

parent f4be427c
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment