httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@apache.org
Subject cvs commit: apache-1.3/src/main alloc.c
Date Mon, 23 Dec 2002 16:12:42 GMT
stoddard    2002/12/23 08:12:42

  Modified:    src/main alloc.c
  Log:
  Use ap_select rather than select to account for OS implementation.
  
  Revision  Changes    Path
  1.138     +2 -2      apache-1.3/src/main/alloc.c
  
  Index: alloc.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/main/alloc.c,v
  retrieving revision 1.137
  retrieving revision 1.138
  diff -u -r1.137 -r1.138
  --- alloc.c	19 Dec 2002 21:22:23 -0000	1.137
  +++ alloc.c	23 Dec 2002 16:12:41 -0000	1.138
  @@ -2867,7 +2867,7 @@
           timeout_interval = TIMEOUT_INTERVAL;
           tv.tv_sec = 0;
           tv.tv_usec = timeout_interval;
  -        select(0, NULL, NULL, NULL, &tv);
  +        ap_select(0, NULL, NULL, NULL, &tv);
   
           do {
               need_timeout = 0;
  @@ -2885,7 +2885,7 @@
                   }
                   tv.tv_sec = timeout_interval / 1000000;
                   tv.tv_usec = timeout_interval % 1000000;
  -                select(0, NULL, NULL, NULL, &tv);
  +                ap_select(0, NULL, NULL, NULL, &tv);
                   timeout_interval *= 2;
               }
           } while (need_timeout);
  
  
  

Mime
View raw message