[csw-maintainers] map-file getpagesizes vs. getpagesizes2

Jan Holzhueter jh at opencsw.org
Thu Oct 18 17:41:34 CEST 2012


Hi,
I have a funny problem again:

/usr/include/sys/mman.h

defines this:
#ifdef __PRAGMA_REDEFINE_EXTNAME
#pragma redefine_extname        getpagesizes    getpagesizes2
#else
#define getpagesizes    getpagesizes2
#endif

Which if I'm not wrong results in all getpagesizes calls be remapped to
getpagesizes2  which the mapfile of libc does not allow since this is in
version 1.22.5

Since I'm not good at this stuff. How do I unset this pragma?
I would guess I should unset it in the code that uses getpagesizes?

Greetings
Jan





More information about the maintainers mailing list