This is the mail archive of the cygwin-patches@cygwin.com 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] |
In getting bind 9.2.0 to compile on cygwin I found I needed these functions. The original source is from openbsd: http://www.openbsd.org/cgi-bin/cvsweb/src/kerberosIV/src/lib/roken/recvmsg.c ?rev=1.1.1.1&content-type=text/x-cvsweb-markup and http://www.openbsd.org/cgi-bin/cvsweb/src/kerberosIV/src/lib/roken/sendmsg.c ?rev=1.1.1.1&content-type=text/x-cvsweb-markup The license is free from the advert clause, so there should be no issues there. Both functions were modified slightly. The return value was changed to int, the internal calls to recvfrom and sendto where changed to cygwin_recvfrom and cygwin_sendto respectively, and I added some explicit type casting. Other than that, it built OOTB. To verify its operation I built a clean version of bind (with some minor touchups to get around other issues) and was able to transmit DNS queries correctly. Mark ==================== Changelog: 2002-01-19 Mark Bradshaw <bradshaw@staff.crosswalk.com> * cygwin.din: added recvmsg and sendmsg * net.cc: added cygwin_recvmsg and cygwin_sendmsg * /usr/include/sys/socket.h: added recvmsg and sendmsg
Attachment:
Changelog.txt
Description: Text document
Attachment:
socket.h.diff
Description: Binary data
Attachment:
net.cc.diff
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |