Module: wine
Branch: master
Commit: b2556a2c34f36c0c82f028dbf24acb1ed77cce29
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b2556a2c34f36c0c82f028dbf…
Author: Bruno Jesus <00cpxxx(a)gmail.com>
Date: Sun Mar 29 00:53:43 2015 -0300
ws2_32: Ensure sockets in exceptfds get set when an error occurs.
---
dlls/ws2_32/socket.c | 16 +---------------
dlls/ws2_32/tests/sock.c | 4 ++--
2 files changed, 3 insertions(+), 17 deletions(-)
diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index 0b8e2cb..26ac305 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -1124,15 +1124,6 @@ static char *strdup_lower(const char *str)
return ret;
}
-static inline int sock_error_p(int s)
-{
- unsigned int optval;
- socklen_t optlen = sizeof(optval);
- getsockopt(s, SOL_SOCKET, SO_ERROR, (void *) &optval, &optlen);
- if (optval) WARN("\t[%i] error: %d\n", s, optval);
- return optval != 0;
-}
-
/* Utility: get the SO_RCVTIMEO or SO_SNDTIMEO socket option
* from an fd and return the value converted to milli seconds
* or -1 if there is an infinite time out */
@@ -4545,12 +4536,7 @@ static void release_poll_fds( const WS_fd_set *readfds, const WS_fd_set *writefd
if (exceptfds)
{
for (i = 0; i < exceptfds->fd_count; i++, j++)
- if (fds[j].fd != -1)
- {
- /* make sure we have a real error before releasing the fd */
- if (!sock_error_p( fds[j].fd )) fds[j].revents = 0;
- release_sock_fd( exceptfds->fd_array[i], fds[j].fd );
- }
+ if (fds[j].fd != -1) release_sock_fd( exceptfds->fd_array[i], fds[j].fd );
}
}
diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c
index 638a767..87511aa 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -3437,8 +3437,10 @@ static void test_select(void)
}
ok ( !FD_ISSET(fdWrite, &writefds), "FD should not be set\n");
+ todo_wine {
ok ( !FD_ISSET(fdRead, &exceptfds), "FD should not be set\n");
ok ( !FD_ISSET(fdWrite, &exceptfds), "FD should not be set\n");
+ }
ok ((listen(fdWrite, SOMAXCONN) == SOCKET_ERROR), "listen did not fail\n");
ret = closesocket(fdWrite);
@@ -3683,9 +3685,7 @@ todo_wine
FD_SET(fdWrite, &exceptfds);
select_timeout.tv_sec = 2; /* requires more time to realize it will not connect */
ret = select(0, &readfds, &writefds, &exceptfds, &select_timeout);
-todo_wine
ok(ret == 1, "expected 1, got %d\n", ret);
-todo_wine
ok(FD_ISSET(fdWrite, &exceptfds), "fdWrite socket is not in the set\n");
ok(select_timeout.tv_usec == 250000, "select timeout should not have changed\n");
closesocket(fdWrite);
Module: website
Branch: master
Commit: f7ad60c29c84946da437a33dc0e639168d758b3f
URL: http://source.winehq.org/git/website.git/?a=commit;h=f7ad60c29c84946da437a3…
Author: Frédéric Delanoy <frederic.delanoy(a)gmail.com>
Date: Fri Mar 27 13:20:11 2015 +0100
French translation for release 1.7.39
---
news/fr/2015032001.xml | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/news/fr/2015032001.xml b/news/fr/2015032001.xml
new file mode 100644
index 0000000..265c304
--- /dev/null
+++ b/news/fr/2015032001.xml
@@ -0,0 +1,16 @@
+<news>
+<date>20 mars 2015</date>
+<title>Sortie de Wine 1.7.39</title>
+<body>
+<p> La version de développement 1.7.39 de Wine est disponible.</p>
+<p> <a href="{$root}/announce/1.7.39">Nouveautés</a> de cette version :
+<ul>
+ <li>Prise en charge des joysticks dans WinMM sous Mac OS X.</li>
+ <li>Prise en charge du crénage dans DirectWrite.</li>
+ <li>Prise en charge des filtres DirectX Media Objects.</li>
+ <li>Meilleure prise en charge des GIF animés dans GdiPlus.</li>
+ <li>Meilleure prise en charge des dossiers spéciaux dans Shell32.</li>
+ <li>Diverses corrections de bugs.</li>
+</ul></p>
+<p><p>Le <a href="http://prdownloads.sourceforge.net/wine/wine-1.7.39.tar.bz2">code source</a> est disponible dès à présent. Les paquets binaires sont en cours de construction, et apparaîtront sous peu sur leurs <a href="{$root}/download">sites de téléchargement</a> respectifs.
+</p></body></news>