4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-14 17:59:28 +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-03-05 21:29:24 +00:00
2001-09-11 20:01:02 +00:00
2001-03-05 21:29:24 +00:00
2001-12-31 04:00:07 +00:00
2000-02-17 19:38:33 +00:00
2001-09-17 21:29:19 +00:00
2001-09-11 20:01:02 +00:00
2002-06-10 19:59:19 +00:00
2001-03-05 21:29:24 +00:00
2001-03-05 21:29:24 +00:00
2001-04-12 04:04:53 +00:00
2001-03-21 16:06:22 +00:00
2000-02-17 19:38:33 +00:00
2000-12-10 22:19:50 +00:00