2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-08 19:32:42 +00:00

Binmode for windows.

git-svn-id: https://svn.fhem.de/fhem/trunk@1872 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2012-09-19 10:44:26 +00:00
parent 4ddbb2333b
commit 3ea833e82e

View File

@ -244,6 +244,7 @@ CommandUpdatefhem($$)
return "File size for $f ($l1) does not correspond to ".
"filetimes.txt entry ($l2)" if($l1 ne $l2);
open(FH,">$localfile") || return "Can't write $localfile";
binmode(FH);
print FH $content;
close(FH);
$ret .= "updated $f\n";