apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr/poll/unix poll.c
Date Fri, 02 Aug 2002 20:41:59 GMT
trawick     2002/08/02 13:41:59

  Modified:    poll/unix poll.c
  Log:
  fix a compile break on stock FreeBSD 3.4 (gcc 2.7.2.3)
  
  Revision  Changes    Path
  1.22      +1 -1      apr/poll/unix/poll.c
  
  Index: poll.c
  ===================================================================
  RCS file: /home/cvs/apr/poll/unix/poll.c,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- poll.c	2 Aug 2002 19:56:08 -0000	1.21
  +++ poll.c	2 Aug 2002 20:41:58 -0000	1.22
  @@ -117,7 +117,7 @@
       /* XXX: I trust that this is a segv when insufficient stack exists? */
       struct pollfd pollset[num];
   #elif defined(HAVE_ALLOCA)
  -    struct pollfd *pollset = alloca(sizeof(pollfd) * num);
  +    struct pollfd *pollset = alloca(sizeof(struct pollfd) * num);
       if (!pollset)
           return APR_ENOMEM;
   #else
  
  
  

Mime
View raw message