Skip Menu |

This queue is for tickets about the Proc-ProcessTable CPAN distribution.

Report information
The Basics
Id: 18932
Status: resolved
Priority: 0/
Queue: Proc-ProcessTable

Owner: Nobody in particular
Requestors: alan.martin [...]

Bug Information
Severity: Normal
Broken in: 0.40
Fixed in: (no value)

Subject: Proc-ProcessTable fails with EOVERFLOW in HPUX 11.11
Download (untitled) / with headers
text/plain 707b
I installed Proc-ProcessTable 0.40 on a HP-UX 11.11 machine with a 64- bit kernel. The module could only return the first 60 processes in the process table. Investigation showed that pstat_getproc was failing on its third iteration with EOVERFLOW. Some googling shows that this is a known problem, which can be fixed by defining _PSTAT64 to ensure that a wide interface and appropriate structures are used. This macro is indeed defined in HPUX.c, but only after all include files have been read. Thus it is not in force when the structure definitions are read. If the line #define _PSTAT64 /* For David Good's 64-bit HPUX 11.0 patch */ is moved to before the include statments, the problem is fixed.
I just checked, this has been fixed a long time ago, it seems.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to