[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apr-cvs
Subject:    cvs commit: apr/locks/unix thread_mutex.c
From:       jorton () apache ! org
Date:       2003-06-08 13:42:20
[Download RAW message or body]

jorton      2003/06/08 06:42:20

  Modified:    locks/unix thread_mutex.c
  Log:
  Error handling fix (unrelated to previous changes): don't call
  pthread_mutex_destroy(NULL) if pthread_mutex_init() fails.
  
  Revision  Changes    Path
  1.18      +0 -1      apr/locks/unix/thread_mutex.c
  
  Index: thread_mutex.c
  ===================================================================
  RCS file: /home/cvs/apr/locks/unix/thread_mutex.c,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -u -r1.17 -r1.18
  --- thread_mutex.c	8 Jun 2003 13:36:32 -0000	1.17
  +++ thread_mutex.c	8 Jun 2003 13:42:20 -0000	1.18
  @@ -92,7 +92,6 @@
   #ifdef PTHREAD_SETS_ERRNO
           rv = errno;
   #endif
  -        thread_mutex_cleanup(new_mutex);
           return rv;
       }
   
  
  
  
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic