apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: apr/file_io/unix readwrite.c
Date Mon, 18 Feb 2002 06:08:53 GMT
jerenkrantz    02/02/17 22:08:53

  Modified:    .        CHANGES
               file_io/unix readwrite.c
  Log:
  Replace FD_SETSIZE with the bare minimum we need to call select() with
  which is file->filedes + 1.
  PR: 9674
  Submitted by:   David MacKenzie <djm@pix.net>
  Reviewed by:    Justin Erenkrantz
  
  Revision  Changes    Path
  1.225     +3 -0      apr/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apr/CHANGES,v
  retrieving revision 1.224
  retrieving revision 1.225
  diff -u -r1.224 -r1.225
  --- CHANGES	18 Feb 2002 01:23:13 -0000	1.224
  +++ CHANGES	18 Feb 2002 06:08:53 -0000	1.225
  @@ -1,5 +1,8 @@
   Changes with APR b1
   
  +  *) Fix select() argument call when waiting for IO.  PR 9674.
  +     [David MacKenzie <djm@pix.net>]
  +
     *) Add a new lock API (apr_global_mutex_t) to provide guaranteed
        cross-process AND cross-thread mutual exclusion.  [Aaron Bannert]
   
  
  
  
  1.75      +1 -1      apr/file_io/unix/readwrite.c
  
  Index: readwrite.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/unix/readwrite.c,v
  retrieving revision 1.74
  retrieving revision 1.75
  diff -u -r1.74 -r1.75
  --- readwrite.c	21 Nov 2001 04:21:03 -0000	1.74
  +++ readwrite.c	18 Feb 2002 06:08:53 -0000	1.75
  @@ -82,7 +82,7 @@
           else {
               tvptr = NULL;
           }
  -        srv = select(FD_SETSIZE,
  +        srv = select(file->filedes + 1,
               for_read ? &fdset : NULL,
               for_read ? NULL : &fdset,
               NULL,
  
  
  

Mime
View raw message