On 02/04/10 11:31, David Woodhouse wrote:
> On Fri, 2010-01-29 at 23:01 -0500, Wyllys Ingersoll wrote:
>> Not a problem, the linux PAGE_SIZE macro (/usr/include/sys/user.h) is defined
>> to call sysconf to get the runtime value.
>
> Um...
>
> pmac /usr/include/sys $ grep PAGE_SIZE *
> pmac /usr/include/sys $ uname -a
> Linux pmac.infradead.org 2.6.31.5-127.fc12.ppc64 #1 SMP Sat Nov 7 20:58:24 
> EST 2009 ppc64 ppc64 ppc64 GNU/Linux
> pmac /usr/include/sys $ rpm -q glibc-headers
> glibc-headers-2.11-2.ppc
>

I decided to go with sysconf(_SC_PAGESIZE) instead, its portable.

I haven't sent out new patches yet, still waiting on some internal
things, but I have a few more fixes, including plugging a couple
of memory leaks.

-Wyllys


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
TrouSerS-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-tech

Reply via email to