sync not supported by windows, use it not there

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@177 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
tdressler 2008-05-11 17:28:58 +00:00
parent ceeae82040
commit 2b00ce780b

View File

@ -97,7 +97,7 @@ FileLog_Log($$)
print $fh "$t $n $s\n";
$fh->flush;
$fh->sync;
$fh->sync if !($^O eq 'MSWin32'); #not implemented in Windows
}
}
return "";