apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grega...@locus.apache.org
Subject cvs commit: apr/misc/unix start.c
Date Wed, 29 Nov 2000 21:16:17 GMT
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();
  
  
  

Mime
View raw message