[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] [PATCH]: MGW



Hello guys,

I don't even know if anyone uses MGW anymore (I have huge doubts), but
even if they do, this update takes out some parts of the bsd sockets
implementation that mgw used that appears to be deprecated.  The parts
removed do not appear to be used anywhere and now mgw compiles and runs
again.  If anyone uses mgw and can test, please do so.

Thanks,
Mark Duckworth

--- freemint/tools/mgw/syscalls.c.orig	Sun Nov 27 13:43:58 2005
+++ freemint/tools/mgw/syscalls.c	Sun Nov 27 13:39:20 2005
@@ -559,8 +559,6 @@
 	 * 	short msg_namelen;
 	 * 	struct iovec *msg_iov;
 	 * 	long msg_iovlen;
-	 * 	void *msg_accrights;
-	 * 	long msg_accrightslen;
 	 * };
 	 */
 	
@@ -568,8 +566,6 @@
 	msg.msg_namelen = p.msg->msg_namelen;
 	msg.msg_iov = p.msg->msg_iov;
 	msg.msg_iovlen = p.msg->msg_iovlen;
-	msg.msg_control = p.msg->msg_accrights;
-	msg.msg_controllen = p.msg->msg_accrightslen;
 	
 	r = Frecvmsg (map_sfd (p.sfd), &msg, p.flags);
 	
@@ -625,8 +621,6 @@
 	 * 	short msg_namelen;
 	 * 	struct iovec *msg_iov;
 	 * 	long msg_iovlen;
-	 * 	void *msg_accrights;
-	 * 	long msg_accrightslen;
 	 * };
 	 */
 	
@@ -634,8 +628,6 @@
 	msg.msg_namelen = p.msg->msg_namelen;
 	msg.msg_iov = p.msg->msg_iov;
 	msg.msg_iovlen = p.msg->msg_iovlen;
-	msg.msg_control = p.msg->msg_accrights;
-	msg.msg_controllen = p.msg->msg_accrightslen;
 	
 	r = Fsendmsg (map_sfd (p.sfd), &msg, p.flags);