dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] pnet/support file.c,1.18,1.19


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] pnet/support file.c,1.18,1.19
Date: Thu, 27 Nov 2003 01:14:34 +0000

Update of /cvsroot/dotgnu-pnet/pnet/support
In directory subversions:/tmp/cvs-serv8070/support

Modified Files:
        file.c 
Log Message:


ILCopyFile: fix a Win32-specific file copying bug.


Index: file.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/file.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** file.c      12 Nov 2003 05:20:08 -0000      1.18
--- file.c      27 Nov 2003 01:14:31 -0000      1.19
***************
*** 383,387 ****
        }
  
!       while ( ( bytes_read = ILSysIORead(src_result, buf, 4000) ) != 0 && 
errno == 0)
        {
                ILSysIOWrite(dest_result, buf, bytes_read);
--- 383,387 ----
        }
  
!       while ( ( bytes_read = ILSysIORead(src_result, buf, 4000) ) > 0 )
        {
                ILSysIOWrite(dest_result, buf, bytes_read);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]