[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/IO StreamReader.cs,1.
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/IO StreamReader.cs,1.4,1.5 |
Date: |
Sat, 04 Jan 2003 05:22:00 -0500 |
Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/IO
In directory subversions:/tmp/cvs-serv21163/runtime/System/IO
Modified Files:
StreamReader.cs
Log Message:
Fix a bug in "Read" that caused it to return the wrong value to the caller.
Index: StreamReader.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/IO/StreamReader.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** StreamReader.cs 19 Apr 2002 06:21:21 -0000 1.4
--- StreamReader.cs 4 Jan 2003 10:21:58 -0000 1.5
***************
*** 412,418 ****
Array.Copy(outBuffer, outBufferPosn,
buffer, index,
templen);
! outBufferLen += templen;
index += templen;
count -= templen;
}
return len;
--- 412,419 ----
Array.Copy(outBuffer, outBufferPosn,
buffer, index,
templen);
! outBufferPosn += templen;
index += templen;
count -= templen;
+ len += templen;
}
return len;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/IO StreamReader.cs,1.4,1.5,
Rhys Weatherley <address@hidden> <=