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

This commit is contained in:
Guido van Rossum 2002-08-01 21:12:35 +00:00
parent f4be427c46
commit b54c27c861
1 changed files with 0 additions and 1 deletions

View File

@ -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: