summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjim <jim@13f79535-47bb-0310-9956-ffa450edef68>2003-03-27 20:10:35 +0000
committerjim <jim@13f79535-47bb-0310-9956-ffa450edef68>2003-03-27 20:10:35 +0000
commita84435d658588a4528a7f8621f9ab379d1a0aa86 (patch)
treef04780f492ae8138aea10df6bc80322bdca4d91e
parent3fb67f74aaf9e7c85d6e94d0f1567b5da98bf621 (diff)
downloadlibapr-a84435d658588a4528a7f8621f9ab379d1a0aa86.tar.gz
Bugz 17186
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64453 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--locks/unix/proc_mutex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/locks/unix/proc_mutex.c b/locks/unix/proc_mutex.c
index 2d3eebf2d..70bf7da80 100644
--- a/locks/unix/proc_mutex.c
+++ b/locks/unix/proc_mutex.c
@@ -98,6 +98,7 @@ static apr_status_t proc_mutex_posix_create(apr_proc_mutex_t *new_mutex,
new_mutex->interproc = apr_palloc(new_mutex->pool,
sizeof(*new_mutex->interproc));
+ new_mutex->interproc->filedes = -1;
/*
* This bogusness is to follow what appears to be the
* lowest common denominator in Posix semaphore naming: