Re: getloadavg on IRIX

2011-02-17 Thread Paul Eggert
On 02/17/2011 04:22 PM, Bruno Haible wrote: > I think ldav_off should be changed to >'ptrdiff_t'. Thanks for catching that. I pushed this: * lib/getloadavg.c (getloadavg) [sgi]: Make ldav_off of type ptrdiff_t. It was 'int', but this doesn't match the IRIX 6.5 manual. Suggested by Bruno Haib

Re: getloadavg on IRIX

2011-02-17 Thread Bruno Haible
Trying to use a getloadavg testdir on IRIX 6.5, the test is skipped: Skipping test; load average not supported: Not supported SKIP: test-getloadavg The reason is that two things are wrong in the execution of getloadavg: 1) ldav_off is set to the value 542000976 = 0x204E4750 but "nm /unix