This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
[newlib-cygwin] cygwin: pread: Remove incorrect comment
- From: Corinna Vinschen <corinna at sourceware dot org>
- To: cygwin-cvs at sourceware dot org
- Date: 8 Nov 2017 12:36:53 -0000
- Subject: [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
{