sync not supported by windows, use it not there
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@177 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -97,7 +97,7 @@ FileLog_Log($$)
|
|||||||
|
|
||||||
print $fh "$t $n $s\n";
|
print $fh "$t $n $s\n";
|
||||||
$fh->flush;
|
$fh->flush;
|
||||||
$fh->sync;
|
$fh->sync if !($^O eq 'MSWin32'); #not implemented in Windows
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return "";
|
return "";
|
||||||
|
|||||||
Reference in New Issue
Block a user