This commit is contained in:
Lorenzo Fiorini
2008-05-22 08:05:32 +00:00
parent b6555367a8
commit 0acdac82ce
4 changed files with 17 additions and 3 deletions

View File

@@ -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

View File

@@ -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 ];
}
}

View File

@@ -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 )

View File

@@ -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 */