decode-edid perl problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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.

-- 
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux