apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wsanc...@apache.org
Subject cvs commit: apr/misc/unix rand.c
Date Tue, 17 Dec 2002 07:09:21 GMT
wsanchez    2002/12/16 23:09:21

  Modified:    misc/unix rand.c
  Log:
  Define SHUT_RDWR to 2 if it's not already defined.
  Submitted by: "Kean Johnston" <jkj@sco.com>
  
  Revision  Changes    Path
  1.18      +4 -0      apr/misc/unix/rand.c
  
  Index: rand.c
  ===================================================================
  RCS file: /home/cvs/apr/misc/unix/rand.c,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- rand.c	13 Dec 2002 22:40:33 -0000	1.17
  +++ rand.c	17 Dec 2002 07:09:21 -0000	1.18
  @@ -74,6 +74,10 @@
   #include <sys/un.h>
   #endif
   
  +#ifndef SHUT_RDWR
  +#define SHUT_RDWR 2
  +#endif
  +
   #if APR_HAS_RANDOM
   
   APR_DECLARE(apr_status_t) apr_generate_random_bytes(unsigned char *buf, 
  
  
  

Mime
View raw message