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:
@@ -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',
|
||||
|
||||
@@ -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];
|
||||
}
|
||||
|
||||
/* ========================================================================= */
|
||||
|
||||
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user