This is the mail archive of the
mailing list for the Cygwin project.
Re: readv - incorrect behavior?
On Mon, Jul 28, 2003 at 04:33:57PM -0400, Hirsch, Matthew wrote:
>I've encountered a problem with the readv system call under Cygwin of the
> int readv(int fd, const struct iovec *vector, int count);
>It appears that readv is reading past the end of the file described by fd
>and instead reading until each buffer in the iovec is filled. This is not
>limited to disk files, as I originally came across this problem when reading
>from a pty's file descriptor.
Yep. It's a bug. I've checked in a fix. It will be in the next snapshot.
Thanks for the simple test case. That's always appreciated.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html