You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jo...@apache.org on 2004/01/25 17:35:35 UTC

cvs commit: apr/include/arch/unix apr_arch_thread_rwlock.h

jorton      2004/01/25 08:35:35

  Modified:    include/arch/unix apr_arch_thread_rwlock.h
  Log:
  * include/arch/unix/apr_arch_thread_rwlock.h: Use result of
  pthread_rwlock_init check correctly.
  
  (Possible fix for PR 22990)
  
  Revision  Changes    Path
  1.3       +2 -2      apr/include/arch/unix/apr_arch_thread_rwlock.h
  
  Index: apr_arch_thread_rwlock.h
  ===================================================================
  RCS file: /home/cvs/apr/include/arch/unix/apr_arch_thread_rwlock.h,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -b -d -u -r1.2 -r1.3
  --- apr_arch_thread_rwlock.h	4 Oct 2003 11:46:24 -0000	1.2
  +++ apr_arch_thread_rwlock.h	25 Jan 2004 16:35:35 -0000	1.3
  @@ -1,7 +1,7 @@
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 2000-2003 The Apache Software Foundation.  All rights
  + * Copyright (c) 2000-2004 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -67,7 +67,7 @@
   #endif
   
   #if APR_HAS_THREADS
  -#if HAVE_PTHREAD_RWLOCK_INIT
  +#ifdef HAVE_PTHREAD_RWLOCK_INIT
   
   struct apr_thread_rwlock_t {
       apr_pool_t *pool;