[PATCH v2] Always use the same method to query the system page size

Mark Wielaard mjw@redhat.com
Wed Feb 15 14:37:00 GMT 2017


On Wed, 2017-02-15 at 15:28 +0100, Ulf Hermann wrote:
> This makes it easier to write a replacement for it on systems where
> sysconf(3) doesn't exist.

To be honest I don't know if it makes sense to port elfutils to a
platform where sysconf doesn't even exist. But the patch is OK. The
correct spelling is indeed _SC_PAGESIZE and getpagesize () really is
just sysconf (_SC_PAGESIZE). Applied.

Thanks,

Mark



More information about the Elfutils-devel mailing list