4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-15 10:49:11 +08:00
Christopher Faylor ab7f9b938f * miscfuncs.cc (check_iovec_for_read): Don't check buffer when zero length
iov_len.
(check_iovec_for_write): Ditto.
* fhandler.h (fhandler_base::readv): New method.
(fhandler_base::writev): Ditto.
* fhandler.cc (fhandler_base::readv): New method.
(fhandler_base::writev): Ditto.
* syscalls.cc (_read): Delegate to readv(2).
(_write): Ditto, mutatis mutandi.
(readv): Rewrite, based on the old _read code, to use the new
fhandler_base::readv method.  Improve access mode handling and ensure all calls
reach the final strace statement.
(writev): Ditto, mutatis mutandi.
* include/sys/uio.h (struct iovec): Change field types to match SUSv3.
* winsup.h (check_iovec_for_read): New function.
(check_iovec_for_write): Ditto.
* miscfuncs.cc (check_iovec_for_read): Ditto.
(check_iovec_for_write): Ditto.
2002-08-30 15:47:10 +00:00
..
2001-09-11 20:01:02 +00:00
2001-03-05 21:29:24 +00:00
2000-10-28 05:41:44 +00:00
2002-01-13 20:03:03 +00:00
2001-03-05 21:29:24 +00:00
2001-03-05 21:29:24 +00:00
2001-09-11 20:01:02 +00:00
2001-11-05 06:09:15 +00:00
2001-09-11 20:01:02 +00:00
2001-12-10 03:35:54 +00:00
2000-02-17 19:38:33 +00:00
2001-11-05 06:09:15 +00:00
2002-03-12 03:36:01 +00:00
2001-03-05 21:29:24 +00:00