httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dr...@hyperreal.org
Subject cvs commit: apache-2.0/src/lib/apr/time/unix time.c
Date Sat, 16 Oct 1999 12:52:09 GMT
dreid       99/10/16 05:52:09

  Modified:    src/lib/apr/time/unix time.c
  Log:
  This corrects a small problem with the safety locks.  Always helps
  to lock and unlock the same lock!
  
  Revision  Changes    Path
  1.9       +2 -2      apache-2.0/src/lib/apr/time/unix/time.c
  
  Index: time.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/time/unix/time.c,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- time.c	1999/10/14 18:14:38	1.8
  +++ time.c	1999/10/16 12:52:07	1.9
  @@ -115,13 +115,13 @@
       case APR_LOCALTIME: {
           SAFETY_LOCK(time, "timefile");
           LOCALTIME_R(&atime->currtime->tv_sec, atime->explodedtime);
  -        SAFETY_UNLOCK(localtime);
  +        SAFETY_UNLOCK(time);
           break;
       }
       case APR_UTCTIME: {
           SAFETY_LOCK(time, "timefile");
           GMTIME_R(&atime->currtime->tv_sec, atime->explodedtime);
  -        SAFETY_UNLOCK(gmtime);
  +        SAFETY_UNLOCK(time);
           break;
       }
       }
  
  
  

Mime
View raw message