apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r391967 - /apr/apr/branches/1.2.x/file_io/win32/readwrite.c
Date Thu, 06 Apr 2006 11:17:49 GMT
Author: wrowe
Date: Thu Apr  6 04:17:48 2006
New Revision: 391967

URL: http://svn.apache.org/viewcvs?rev=391967&view=rev
Log:

  Undo error in commit 381936, missed one case of *nbytes assignment.
  More completely corrected in 388281, which is why I hadn't dwelled
  on the current state of this messed up code.  Fixes mod_cgi but this
  doesn't address all of the other edge cases already fixed on trunk.


Modified:
    apr/apr/branches/1.2.x/file_io/win32/readwrite.c

Modified: apr/apr/branches/1.2.x/file_io/win32/readwrite.c
URL: http://svn.apache.org/viewcvs/apr/apr/branches/1.2.x/file_io/win32/readwrite.c?rev=391967&r1=391966&r2=391967&view=diff
==============================================================================
--- apr/apr/branches/1.2.x/file_io/win32/readwrite.c (original)
+++ apr/apr/branches/1.2.x/file_io/win32/readwrite.c Thu Apr  6 04:17:48 2006
@@ -92,6 +92,7 @@
                 case WAIT_OBJECT_0:
                     GetOverlappedResult(file->filehand, file->pOverlapped, 
                                         &bytesread, TRUE);
+                    *nbytes = bytesread;
                     rv = APR_SUCCESS;
                     break;
 



Mime
View raw message