decode-edid perl problems
perl 5.005
Not enough arguments for syswrite at ./decode-edid.pl line 111, near "$output;" Not enough arguments for syswrite at ./decode-edid.pl line 114, near ""\n";" Execution of ./decode-edid.pl aborted due to compilation errors.
Quoted 7 lines
perl 5.005
Not enough arguments for syswrite at ./decode-edid.pl line 111, near "$output;" Not enough arguments for syswrite at ./decode-edid.pl line 114, near ""\n";" Execution of ./decode-edid.pl aborted due to compilation errors.
Really strange. This is supposed to work with perl 5.005_03. Please try adding a third parameter to the syswrite calls:
syswrite PIPE, "\n";
becomes:
syswrite (PIPE, "\n", length ("\n"));
and so on.
In sensors-detect we use that form and it seem to work for you. If it works I'll commit the changes.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Quoted 10 lines
Really strange. This is supposed to work with perl 5.005_03. Please try adding a third parameter to the syswrite calls:
syswrite PIPE, "\n";
becomes:
syswrite (PIPE, "\n", length ("\n"));
and so on.In sensors-detect we use that form and it seem to work for you. If it works I'll commit the changes.
I just realized I should be using print, not syswrite, so you may check just to increase our knowledge, but the fix I'll commit will be different anyway.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/