apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/file_io/win32 readwrite.c
Date Mon, 15 Jul 2002 07:24:35 GMT
wrowe       2002/07/15 00:24:35

  Modified:    file_io/win32 readwrite.c
  Log:
    Formatting [c++ comments!  ick.]
  
  Revision  Changes    Path
  1.69      +5 -2      apr/file_io/win32/readwrite.c
  
  Index: readwrite.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/win32/readwrite.c,v
  retrieving revision 1.68
  retrieving revision 1.69
  diff -u -r1.68 -r1.69
  --- readwrite.c	28 Jun 2002 14:04:35 -0000	1.68
  +++ readwrite.c	15 Jul 2002 07:24:34 -0000	1.69
  @@ -117,14 +117,17 @@
           if (rv == APR_FROM_OS_ERROR(ERROR_IO_PENDING)) {
               /* Wait for the pending i/o */
               if (file->timeout > 0) {
  -                rv = WaitForSingleObject(file->pOverlapped->hEvent, (DWORD)(file->timeout/1000));
// timeout in milliseconds...
  +                /* timeout in milliseconds... */
  +                rv = WaitForSingleObject(file->pOverlapped->hEvent, 
  +                                         (DWORD)(file->timeout/1000)); 
               }
               else if (file->timeout == -1) {
                   rv = WaitForSingleObject(file->pOverlapped->hEvent, INFINITE);
               }
               switch (rv) {
               case WAIT_OBJECT_0:
  -                GetOverlappedResult(file->filehand, file->pOverlapped, nbytes, TRUE);
  +                GetOverlappedResult(file->filehand, file->pOverlapped, 
  +                                    nbytes, TRUE);
                   rv = APR_SUCCESS;
                   break;
               case WAIT_TIMEOUT:
  
  
  

Mime
View raw message