git://git.jankratochvil.net
/
gsmperl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed file reading for --ems-melody-file-send
[gsmperl.git]
/
GSM
/
examples
/
commandline
/
gsmcmd
diff --git
a/GSM/examples/commandline/gsmcmd
b/GSM/examples/commandline/gsmcmd
index
e290be3
..
51eb93e
100755
(executable)
--- a/
GSM/examples/commandline/gsmcmd
+++ b/
GSM/examples/commandline/gsmcmd
@@
-208,6
+208,7
@@
my($keyword,$arg)=@_;
local (*F);
open F, $arg;
+ local $/=undef();
my $ems_melody_file_data = <F>;
close F;
warn "EMS iMelody file format not recognized, wrapping anyway"