mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=2679
This commit is contained in:
parent
1c717117cf
commit
8203c216ed
|
@ -7774,3 +7774,10 @@ Karl 2003-11-22
|
|||
|
||||
client/
|
||||
client_types.C
|
||||
|
||||
Karl 2003-11-24
|
||||
- testbase fixes
|
||||
|
||||
test/
|
||||
testbase.py
|
||||
cgiserver.py
|
||||
|
|
|
@ -142,7 +142,6 @@ class PHPHTTPRequestHandler(CGIHTTPServer.CGIHTTPRequestHandler):
|
|||
args = [script]
|
||||
if '=' not in decoded_query:
|
||||
args.append(decoded_query)
|
||||
nobody = CGIHTTPServer.nobody_uid()
|
||||
self.wfile.flush() # Always flush before forking
|
||||
pid = os.fork()
|
||||
if pid != 0:
|
||||
|
@ -160,10 +159,6 @@ class PHPHTTPRequestHandler(CGIHTTPServer.CGIHTTPRequestHandler):
|
|||
return
|
||||
# Child
|
||||
try:
|
||||
try:
|
||||
os.setuid(nobody)
|
||||
except os.error:
|
||||
pass
|
||||
os.dup2(self.rfile.fileno(), 0)
|
||||
os.dup2(self.wfile.fileno(), 1)
|
||||
os.chdir(self.translate_path(dir)) # KC
|
||||
|
|
|
@ -726,7 +726,7 @@ class AsynchCGIServer:
|
|||
return
|
||||
## child
|
||||
os.chdir(base_dir)
|
||||
sys.stderr = open('cgiserver.log', 'w')
|
||||
sys.stderr = open('cgiserver.log', 'w', 0)
|
||||
cgiserver.serve(port=port)
|
||||
os._exit(1)
|
||||
def kill(self):
|
||||
|
|
Loading…
Reference in New Issue