[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] pnetlib/runtime/System/IO TextReader.cs, 1.5, 1.6
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] pnetlib/runtime/System/IO TextReader.cs, 1.5, 1.6 |
Date: |
Wed, 29 Oct 2003 20:57:44 +0000 |
Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/IO
In directory subversions:/tmp/cvs-serv25466/runtime/System/IO
Modified Files:
TextReader.cs
Log Message:
Properly increment the number of character read (Stephen Compall).
Index: TextReader.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/IO/TextReader.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** TextReader.cs 19 Apr 2002 00:57:11 -0000 1.5
--- TextReader.cs 29 Oct 2003 20:57:42 -0000 1.6
***************
*** 99,102 ****
--- 99,103 ----
buffer[index++] = (char)ch;
--count;
+ ++readLen;
}
return readLen;
***************
*** 111,115 ****
do
{
! tempLen = Read(buffer, index, count -
readLen);
if(tempLen != 0)
{
--- 112,116 ----
do
{
! tempLen = Read(buffer, index + readLen,
count - readLen);
if(tempLen != 0)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] pnetlib/runtime/System/IO TextReader.cs, 1.5, 1.6,
Rhys Weatherley <address@hidden> <=