apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: apr/locks/unix proc_mutex.c
Date Sat, 05 Jun 2004 11:24:05 GMT
jorton      2004/06/05 04:24:05

  Modified:    locks/unix proc_mutex.c
  Log:
  * locks/unix/proc_mutex.c (proc_mutex_flock_child_init): If open()
  fails in a child, the lock file should not be unlink()ed.
  
  Revision  Changes    Path
  1.37      +0 -1      apr/locks/unix/proc_mutex.c
  
  Index: proc_mutex.c
  ===================================================================
  RCS file: /home/cvs/apr/locks/unix/proc_mutex.c,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -d -w -u -r1.36 -r1.37
  --- proc_mutex.c	13 Feb 2004 09:38:31 -0000	1.36
  +++ proc_mutex.c	5 Jun 2004 11:24:05 -0000	1.37
  @@ -654,7 +654,6 @@
       rv = apr_file_open(&new_mutex->interproc, new_mutex->fname,
                          APR_WRITE, 0, new_mutex->pool);
       if (rv != APR_SUCCESS) {
  -        proc_mutex_flock_cleanup(new_mutex);
           return rv;
       }
       *mutex = new_mutex;
  
  
  

Mime
View raw message