]> granicus.if.org Git - python/commitdiff
Fix for SF bug 570678 (can't flush read-only file on Mac OS X).
authorGuido van Rossum <guido@python.org>
Thu, 1 Aug 2002 21:12:35 +0000 (21:12 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 1 Aug 2002 21:12:35 +0000 (21:12 +0000)
Lib/CGIHTTPServer.py

index fbd82c9418b15e5863253a2c86b7cd6f6743cda1..0279117c7ad66160e79afaed85ad250f4c829691 100644 (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: