Re: getloadavg on aix5

2008-02-05 Thread Jim Meyering
Peter O'Gorman <[EMAIL PROTECTED]> wrote: ... > This works (tested on aix4.3.3, aix5.1, 5.2 and 5.3). Thanks. I've pushed the result.

Re: getloadavg on aix5

2008-02-05 Thread Peter O'Gorman
Jim Meyering wrote: > "Peter O'Gorman" <[EMAIL PROTECTED]> wrote: >> I seem to have lost Jim's reply, but here is a patch. Works on >> aix-4.3.3 and aix-5.3. >> >> The SBITS thing is the way the libperstat.h header recommends >> calculating the loadavg: >> >> /* To calculate the load average, divid

Re: printf failure on HP/UX 10.20 with 6.9.92

2008-02-05 Thread Andreas Schwab
[EMAIL PROTECTED] (Bob Proulx) writes: > Eric Blake wrote: >> According to Peter Fales on 2/4/2008 4:00 PM: >> |It looks like the system snprintf is buggy. I suspect the '-' >> ... >> And that violates C99/POSIX. Duplication of the `-' flag should not >> disable it. > > In some defense of H

Re: printf failure on HP/UX 10.20 with 6.9.92

2008-02-05 Thread Bob Proulx
Eric Blake wrote: > According to Peter Fales on 2/4/2008 4:00 PM: > |It looks like the system snprintf is buggy. I suspect the '-' > ... > And that violates C99/POSIX. Duplication of the `-' flag should not > disable it. In some defense of HP-UX 10.20 it was released IIRC in 1996 which was