*** empty log message ***

svn path=/trunk/boinc/; revision=2679
This commit is contained in:
Karl Chen 2003-11-25 06:53:39 +00:00
parent 1c717117cf
commit 8203c216ed
3 changed files with 8 additions and 6 deletions

View File

@ -7774,3 +7774,10 @@ Karl 2003-11-22
client/
client_types.C
Karl 2003-11-24
- testbase fixes
test/
testbase.py
cgiserver.py

View File

@ -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

View File

@ -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):