This is the mail archive of the cygwin-patches mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I think this removes some redundancy and a questionable check while being more straight forward and covering more possible fault cases. Please let me know if I missed a reason it had to be that way. 2006-07-26 Brian Ford <Brian.Ford@FlightSafety.com> * miscfuncs.cc (dummytest): Delete. (check_iovec): Remove forwrite argument. Let caller setup fault handler and don't explicitly test for valid buffers. * winsup.h (check_iovec_for_read): Delete define. (check_iovec_for_write): Likewise. (check_iovec): Adjust prototype. * net.cc (cygwin_recvmsg): Adjust for above. (cygwin_sendmsg): Likewise. * syscalls.cc (readv): Setup fault handling here and adjust for above. (writev): Likewise. -- Brian Ford Lead Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained crew...
Attachment:
check_iovec_cleanup.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |