2009-07-28 18:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/source/rtl/hbsocket.c
    ! yet another mistake in select() sets I missed to fix in previous commit
This commit is contained in:
Przemyslaw Czerpak
2009-07-28 16:22:38 +00:00
parent 0b42535e8c
commit eb76326d2d
2 changed files with 5 additions and 1 deletions

View File

@@ -17,6 +17,10 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-07-28 18:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/hbsocket.c
! yet another mistake in select() sets I missed to fix in previous commit
2009-07-28 18:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
% Maybe I'm overlooking some scenarios, but I could simply drop the

View File

@@ -1235,7 +1235,7 @@ static int hb_socketSelectWR( HB_SOCKET sd, HB_LONG timeout )
else
ptv = NULL;
iResult = select( ( int ) ( sd + 1 ), &wfds, NULL, NULL, ptv );
iResult = select( ( int ) ( sd + 1 ), NULL, &wfds, NULL, ptv );
hb_socketSetOsError( iResult >= 0 ? 0 : HB_SOCK_GETERROR() );
if( iResult == -1 && timeout > 0 && HB_SOCK_IS_EINTR() &&
hb_vmRequestQuery() == 0 )