Commit d9ce4a6e authored by Jeff Trawick's avatar Jeff Trawick
Browse files

Make ap_child_init_lock() work properly... It didn't

call ap_unix_child_init_lock() at the right time, so any
lock mechanism which had interesting work to do (only flock())
was broken.

Fix the flock() flavor of ap_unix_child_init_lock().  It expected
to create the lock file when it should in fact open the existing
one.  It also neglected to return the new ap_lock_t structure to
the caller.

Improve logging of lock init errors in prefork (I know, prefork is
a lame duck, but I used the improved logging in prefork to help
debug the problem).


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85861 13f79535-47bb-0310-9956-ffa450edef68
parent 5ff08076
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment