Return-Path: Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 5837 invoked by uid 1158); 29 Nov 2000 21:16:18 -0000 Date: 29 Nov 2000 21:16:17 -0000 Message-ID: <20001129211617.5824.qmail@locus.apache.org> From: gregames@locus.apache.org To: apr-cvs@apache.org Subject: cvs commit: apr/misc/unix start.c gregames 00/11/29 13:16:14 Modified: misc/unix start.c Log: Increment "initialize" every time a new APR user starts, so locks aren't destroyed prematurely. What a great day - mod_info is really back! Thanks to two Ryans and a Jeff. Revision Changes Path 1.41 +1 -2 apr/misc/unix/start.c Index: start.c =================================================================== RCS file: /home/cvs/apr/misc/unix/start.c,v retrieving revision 1.40 retrieving revision 1.41 diff -u -r1.40 -r1.41 --- start.c 2000/11/29 00:21:14 1.40 +++ start.c 2000/11/29 21:16:10 1.41 @@ -117,10 +117,9 @@ int err; #endif - if (initialized) { + if (initialized++) { return APR_SUCCESS; } - initialized++; #if !defined(BEOS) && !defined(OS2) && !defined(WIN32) apr_unix_setup_lock();