Fix for SF bug 570678 (can't flush read-only file on Mac OS X).
This commit is contained in:
parent
f4be427c46
commit
b54c27c861
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue