apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/poll/unix poll.c
Date Mon, 15 Jul 2002 18:27:39 GMT
wrowe       2002/07/15 11:27:39

  Modified:    poll/unix poll.c
  Log:
    Eliminate the one Unix emit, and one of three Win32 emits.
  
    The other two Win32 emits, setting the des from filedes/socketdes
    [HANDLE -> int] shouldn't be cast around, and we will likely move
    this code from poll/unix anyways.  The other emit, FD_SET errors,
    are gone in the latest win32 clib implementations, and again, our
    own win32 platform code will evaporate those problems.
  
  Revision  Changes    Path
  1.7       +2 -2      apr/poll/unix/poll.c
  
  Index: poll.c
  ===================================================================
  RCS file: /home/cvs/apr/poll/unix/poll.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- poll.c	13 Jul 2002 06:31:52 -0000	1.6
  +++ poll.c	15 Jul 2002 18:27:39 -0000	1.7
  @@ -162,8 +162,8 @@
           tvptr = NULL;
       }
       else {
  -        tv.tv_sec = apr_time_sec(timeout);
  -        tv.tv_usec = apr_time_usec(timeout);
  +        tv.tv_sec = (long)apr_time_sec(timeout);
  +        tv.tv_usec = (long)apr_time_usec(timeout);
           tvptr = &tv;
       }
   
  
  
  

Mime
View raw message