CC: | Dave Rolsky <autarch [...] urth.org> |
Subject: | Wrong Values Returned on Mac OS X? |
Date: | Mon, 10 Jul 2006 08:25:33 -0700 |
To: | bug-bsd-resource [...] rt.cpan.org |
From: | David Wheeler <david [...] kineticode.com> |
Hi Jarkko,
In testing a new version of Apache::SizeLimit, a bunch of tests
failed. Dave Rolsky, the new maintainer of that module, asked me to run:
geertz% perl -MBSD::Resource -le 'print for (BSD::Resource::getrusage
())[2,3]'
0
0
It seems, however, that these values are unexpected. So is it the
case that rusage() works differently on Mac OS X than on other BSDs?
Or could this be a bug in BSD::Resource?
Versions:
Mac OS X 10.4.7
geertz% pv BSD::Resource
1.28
geertz% perl -v
This is perl, v5.8.8 built for darwin-2level