mirror of
https://github.com/python/cpython.git
synced 2025-07-23 19:25:40 +00:00
Fix for SF bug 570678 (can't flush read-only file on Mac OS X).
This commit is contained in:
parent
f4be427c46
commit
b54c27c861
1 changed files with 0 additions and 1 deletions
|
@ -193,7 +193,6 @@ class CGIHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
|
||||||
if '=' not in decoded_query:
|
if '=' not in decoded_query:
|
||||||
args.append(decoded_query)
|
args.append(decoded_query)
|
||||||
nobody = nobody_uid()
|
nobody = nobody_uid()
|
||||||
self.rfile.flush() # Always flush before forking
|
|
||||||
self.wfile.flush() # Always flush before forking
|
self.wfile.flush() # Always flush before forking
|
||||||
pid = os.fork()
|
pid = os.fork()
|
||||||
if pid != 0:
|
if pid != 0:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue