Commit 1b5f018c authored by Guido van Rossum's avatar Guido van Rossum

Patch by Charles G Waldman:

1)  Adds MSG_DONTWAIT if defined (I needed this)
2)  Spells "coreectly" correctly ;-)
parent ccf8b865
...@@ -524,7 +524,7 @@ BUILD_FUNC_DEF_2(makesockaddr,struct sockaddr *,addr, int,addrlen) ...@@ -524,7 +524,7 @@ BUILD_FUNC_DEF_2(makesockaddr,struct sockaddr *,addr, int,addrlen)
} }
#ifdef __BEOS__ #ifdef __BEOS__
/* XXX: BeOS version of accept() doesn't set family coreectly */ /* XXX: BeOS version of accept() doesn't set family correctly */
addr->sa_family = AF_INET; addr->sa_family = AF_INET;
#endif #endif
...@@ -2526,6 +2526,9 @@ initsocket() ...@@ -2526,6 +2526,9 @@ initsocket()
#ifdef MSG_DONTROUTE #ifdef MSG_DONTROUTE
insint(d, "MSG_DONTROUTE", MSG_DONTROUTE); insint(d, "MSG_DONTROUTE", MSG_DONTROUTE);
#endif #endif
#ifdef MSG_DONTWAIT
insint(d, "MSG_DONWAIT", MSG_DONTWAIT);
#endif
#ifdef MSG_EOR #ifdef MSG_EOR
insint(d, "MSG_EOR", MSG_EOR); insint(d, "MSG_EOR", MSG_EOR);
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment