From b54c27c861ad71fc090939da4c5fdb4f5e3bc67c Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 1 Aug 2002 21:12:35 +0000 Subject: Fix for SF bug 570678 (can't flush read-only file on Mac OS X). --- Lib/CGIHTTPServer.py | 1 - 1 file changed, 1 deletion(-) 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: -- cgit v0.12