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:
parent
4ddbb2333b
commit
3ea833e82e
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user