winsup/cygwin ChangeLog fhandler.h ...
Fri Aug 30 08:47:00 GMT 2002

CVSROOT:	/cvs/uberbaum
Module name:	winsup
Changes by:	2002-08-30 08:47:10

Modified files:
	cygwin         : ChangeLog fhandler.h 
	cygwin/include/sys: uio.h 

Log message:
	* (check_iovec_for_read): Don't check buffer when zero length
	(check_iovec_for_write): Ditto.
	* fhandler.h (fhandler_base::readv): New method.
	(fhandler_base::writev): Ditto.
	* (fhandler_base::readv): New method.
	(fhandler_base::writev): Ditto.
	* (_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.
	* (check_iovec_for_read): Ditto.
	(check_iovec_for_write): Ditto.


More information about the Cygwin-cvs mailing list