fix some bugs in the linux version (not working yet)

svn path=/trunk/; revision=28880
This commit is contained in:
Christoph von Wittich 2007-09-05 16:52:45 +00:00
parent e49226799b
commit 7e1ef16736
2 changed files with 2 additions and 2 deletions

View file

@ -126,7 +126,7 @@ namespace System_
void OsSupport::delayExecution(long value)
{
sleep( (clock_t)value * CLOCKS_PER_SEC );
sleep( value );
}

View file

@ -717,7 +717,7 @@ namespace Sysreg_
return false;
}
char buffer[128];
if (!fread(buffer, sizeof(buffer), 1, file))
if (!fread(buffer, 1, sizeof(buffer), file))
{
cerr << "Error: pid file w/o pid!!! " << endl;
cleanup();