apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr/include/arch/unix proc_mutex.h
Date Fri, 28 Jun 2002 11:38:51 GMT
trawick     2002/06/28 04:38:50

  Modified:    .        CHANGES
               include/arch/unix proc_mutex.h
  Log:
  Fix the definition of union semun so that it is valid on systems
  where sizeof(long) != sizeof(int).  This resolves a hang on
  HP-UX/Itanium.
  
  Submitted by:	Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>
  Reviewed by:	Jeff Trawick
  
  Revision  Changes    Path
  1.299     +5 -0      apr/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apr/CHANGES,v
  retrieving revision 1.298
  retrieving revision 1.299
  diff -u -r1.298 -r1.299
  --- CHANGES	24 Jun 2002 07:01:18 -0000	1.298
  +++ CHANGES	28 Jun 2002 11:38:50 -0000	1.299
  @@ -1,5 +1,10 @@
   Changes with APR b1
   
  +  *) Fix the definition of union semun so that it is valid on systems
  +     where sizeof(long) != sizeof(int).  This resolves a hang on
  +     HP-UX/Itanium.  
  +     [Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>]
  +
     *) Correct shared library support on Darwin to not fatally error out
        when a shared library does not exist.  [Justin Erenkrantz]
   
  
  
  
  1.9       +1 -1      apr/include/arch/unix/proc_mutex.h
  
  Index: proc_mutex.h
  ===================================================================
  RCS file: /home/cvs/apr/include/arch/unix/proc_mutex.h,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- proc_mutex.h	7 Jun 2002 14:04:34 -0000	1.8
  +++ proc_mutex.h	28 Jun 2002 11:38:50 -0000	1.9
  @@ -142,7 +142,7 @@
   
   #if !APR_HAVE_UNION_SEMUN && defined(APR_HAS_SYSVSEM_SERIALIZE)
   union semun {
  -    long val;
  +    int val;
       struct semid_ds *buf;
       unsigned short *array;
   };
  
  
  

Mime
View raw message