2011-10-30 01:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/src/rtl/hbdyn.c
    * added dummy assignment to pacify warning

  * harbour/src/rtl/hbsocket.c
    * added workaround for EREFUSED == ECONNREFUSED.
      It has to be tested with different OS-es
This commit is contained in:
Przemyslaw Czerpak
2011-10-29 23:35:28 +00:00
parent 09a69be3c5
commit e3efbb6652
3 changed files with 11 additions and 0 deletions

View File

@@ -16,6 +16,14 @@
The license applies to all entries newer than 2009-04-28.
*/
2011-10-30 01:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbdyn.c
* added dummy assignment to pacify warning
* harbour/src/rtl/hbsocket.c
* added workaround for EREFUSED == ECONNREFUSED.
It has to be tested with different OS-es
2011-10-29 01:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbziparc/ziparc.prg
% minor optimization to last change. checkme.

View File

@@ -476,6 +476,7 @@ typedef struct
static void hb_u32par( PHB_ITEM pParam, PHB_DYNARG pArg, HB_U32 * r1, HB_U32 * r2, HB_BOOL * b64 )
{
*b64 = HB_FALSE;
*r2 = 0;
switch( pArg->iType )
{

View File

@@ -1289,9 +1289,11 @@ static void hb_socketSetOsError( int err )
break;
#endif
#if defined( EREFUSED )
# if EREFUSED != ECONNREFUSED
case EREFUSED:
uiErr = HB_SOCKET_ERR_REFUSED;
break;
# endif
#endif
/*
#if defined( TRY_AGAIN )