Fixed file reading for --ems-melody-file-send lace
authorshort <>
Fri, 15 Nov 2002 11:28:07 +0000 (11:28 +0000)
committershort <>
Fri, 15 Nov 2002 11:28:07 +0000 (11:28 +0000)
GSM/examples/commandline/gsmcmd

index e290be3..51eb93e 100755 (executable)
@@ -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"