2009-06-05 10:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/source/vm/thread.c
    * minor cleanup
  * harbour/source/hbzlib/crc32.c
    * casting
This commit is contained in:
Przemyslaw Czerpak
2009-06-05 08:01:30 +00:00
parent da084f7167
commit 3590aa01e1
3 changed files with 11 additions and 9 deletions

View File

@@ -17,6 +17,12 @@
past entries belonging to these authors: Viktor Szakats.
*/
2009-06-05 10:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/thread.c
* minor cleanup
* harbour/source/hbzlib/crc32.c
* casting
2009-06-05 09:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
+ Now if hbmk2 is renamed to a name which ends with '10',

View File

@@ -210,7 +210,7 @@ const unsigned long FAR * ZEXPORT get_crc_table( void )
if (crc_table_empty)
make_crc_table();
#endif /* DYNAMIC_CRC_TABLE */
return (const unsigned long FAR *)crc_table;
return (const unsigned long FAR *)crc_table[0];
}
/* ========================================================================= */

View File

@@ -1561,20 +1561,16 @@ void hb_threadMutexSyncSignal( PHB_ITEM pItemMtx )
if( pMutex->waiters )
{
int iCount = pMutex->waiters;
ULONG ulLen;
if( pMutex->events )
if( !pMutex->events )
pMutex->events = hb_itemArrayNew( iCount );
else
{
ulLen = hb_arrayLen( pMutex->events );
ULONG ulLen = hb_arrayLen( pMutex->events );
iCount -= ulLen;
if( iCount > 0 )
hb_arraySize( pMutex->events, ulLen + iCount );
}
else
{
ulLen = 0;
pMutex->events = hb_itemArrayNew( iCount );
}
if( iCount == 1 )
HB_COND_SIGNAL( pMutex->cond_w );
else if( iCount > 0 )