This commit is contained in:
@@ -8,6 +8,14 @@
|
||||
2008-12-31 13:59 UTC+0100 Foo Bar <foo.bar@foobar.org>
|
||||
*/
|
||||
|
||||
2008-05-22 10:10 UTC+0100 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com)
|
||||
* source/common/hbstr.c
|
||||
* casting for gcc 4.3.0
|
||||
* source/rtl/idle.c
|
||||
* changed for make it work in Centos 5.1
|
||||
* source/rtl/hbini.prg
|
||||
* set only = as default key, field separator
|
||||
|
||||
2008-05-22 08:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
|
||||
* hbwhat32/_winsys.c
|
||||
* hbwhat32/_wincomm.c
|
||||
|
||||
@@ -337,7 +337,7 @@ static double hb_numPow10( int nPrecision )
|
||||
}
|
||||
else if( nPrecision > -16 )
|
||||
{
|
||||
return 1.0 / s_dPow10[ -nPrecision ];
|
||||
return 1.0 / s_dPow10[ ( unsigned int ) nPrecision ];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -104,7 +104,7 @@ FUNCTION hb_IniRead( cFileSpec, lKeyCaseSens, cSplitters, lAutoMain )
|
||||
|
||||
/* Default case sensitiveness for keys */
|
||||
DEFAULT lKeyCaseSens TO .T.
|
||||
DEFAULT cSplitters TO "=|:"
|
||||
DEFAULT cSplitters TO "="
|
||||
DEFAULT lAutoMain TO .T.
|
||||
|
||||
hb_HCaseMatch( hIni, lKeyCaseSens )
|
||||
|
||||
@@ -148,9 +148,15 @@ void hb_releaseCPU( void )
|
||||
}
|
||||
#elif defined(HB_OS_UNIX)
|
||||
{
|
||||
struct timeval tv;
|
||||
tv.tv_sec = 0;
|
||||
tv.tv_usec = 1000;
|
||||
select( 0, NULL, NULL, NULL, &tv );
|
||||
}
|
||||
/* the code below is more efficient but doesn't work in Centos 5.1
|
||||
static const struct timespec nanosecs = { 0, 1000000 };
|
||||
nanosleep( &nanosecs, NULL );
|
||||
}
|
||||
*/
|
||||
#else
|
||||
|
||||
/* Do nothing */
|
||||
|
||||
Reference in New Issue
Block a user