From cvs-return-2119-apmail-apr-cvs-archive=apr.apache.org@apr.apache.org Tue Sep 11 06:33:45 2001 Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 53996 invoked by uid 500); 11 Sep 2001 06:33:44 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 53985 invoked from network); 11 Sep 2001 06:33:44 -0000 Date: 11 Sep 2001 06:29:46 -0000 Message-ID: <20010911062946.75535.qmail@icarus.apache.org> From: rbb@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr/locks/win32 thread_mutex.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N rbb 01/09/10 23:29:46 Modified: locks/win32 thread_mutex.c Log: We don't actually use this SECURITY_ATTRIBUTE, so it doesn't need to be there. Submitted by: Greg Stein Revision Changes Path 1.3 +0 -5 apr/locks/win32/thread_mutex.c Index: thread_mutex.c =================================================================== RCS file: /home/cvs/apr/locks/win32/thread_mutex.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- thread_mutex.c 2001/09/10 22:53:59 1.2 +++ thread_mutex.c 2001/09/11 06:29:45 1.3 @@ -71,14 +71,9 @@ APR_DECLARE(apr_status_t) apr_thread_mutex_create(apr_thread_mutex_t **mutex, apr_pool_t *pool) { - SECURITY_ATTRIBUTES sec; (*mutex) = (apr_thread_mutex_t *)apr_palloc(pool, sizeof(**mutex)); (*mutex)->pool = pool; - sec.nLength = sizeof(SECURITY_ATTRIBUTES); - sec.lpSecurityDescriptor = NULL; - sec.bInheritHandle = FALSE; - InitializeCriticalSection(&(*mutex)->section); apr_pool_cleanup_register((*mutex)->pool, (*mutex), thread_mutex_cleanup, apr_pool_cleanup_null);