This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[newlib-cygwin] cygwin: pread: Remove incorrect comment


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=181fe5d2edacfd1578fe881c857dda7eae9ec104

commit 181fe5d2edacfd1578fe881c857dda7eae9ec104
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Wed Nov 8 13:36:34 2017 +0100

    cygwin: pread: Remove incorrect comment
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/fhandler_disk_file.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winsup/cygwin/fhandler_disk_file.cc b/winsup/cygwin/fhandler_disk_file.cc
index 0b99c49..8f57952 100644
--- a/winsup/cygwin/fhandler_disk_file.cc
+++ b/winsup/cygwin/fhandler_disk_file.cc
@@ -1566,7 +1566,7 @@ fhandler_disk_file::pread (void *buf, size_t count, off_t offset)
 	  return -1;
 	}
       else
-	res = io.Information;	/* Valid on EOF. */
+	res = io.Information;
     }
   else
     {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]