diff options
| author | Guido van Rossum <guido@python.org> | 2002-08-01 21:12:35 +0000 | 
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2002-08-01 21:12:35 +0000 | 
| commit | b54c27c861ad71fc090939da4c5fdb4f5e3bc67c (patch) | |
| tree | 7b82cbd37aecc4c5324175e84b1159e5c946bb43 /Lib/CGIHTTPServer.py | |
| parent | f4be427c46c4508a9c2a14f5fd224ef6721784aa (diff) | |
| download | cpython-git-b54c27c861ad71fc090939da4c5fdb4f5e3bc67c.tar.gz | |
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 fbd82c9418..0279117c7a 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: | 
