fhandler_base::readv

Lev Bishop lev.bishop@gmail.com
Wed May 24 00:29:00 GMT 2006


2006-05-23  Lev Bishop  <lev.bishop+cygwin@gmail.com>

	* fhandler.cc (readv): Deal with tot not precalculated.
-------------- next part --------------
Index: fhandler.cc
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/fhandler.cc,v
retrieving revision 1.251
diff -u -p -r1.251 fhandler.cc
--- fhandler.cc	22 Mar 2006 16:42:44 -0000	1.251
+++ fhandler.cc	24 May 2006 00:24:46 -0000
@@ -964,6 +964,7 @@ fhandler_base::readv (const struct iovec
 	  len += iovptr->iov_len;
 	}
       while (iovptr != iov);
+      tot = len;
     }
 
   assert (tot >= 0);


More information about the Cygwin-patches mailing list