Ad Widget

Collapse

BUGFIX: proc.mem limited to 32bit on Solaris

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Age42
    Junior Member
    • Aug 2008
    • 6

    #1

    BUGFIX: proc.mem limited to 32bit on Solaris

    lvalue is a signed long int, but psinfo.pr_size is size_t (which is unsigned).

    Because of this, lvalue wraps when pr_size is > 2GB and the return for the memory is 0

    This simple patch should resolve this issue.
    Attached Files
Working...