-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Jeremy Huntwork wrote: > On Tue, Apr 22, 2008 at 12:21:49PM -0700, Dan Nicholson wrote: >> So, I suppose you could grep for some regex >> (PAGE_(SHIFT|SIZE|MASK)) of those macros to be safe. > > Nothing for the other patterns. So seems like a usable enough > solution for perl. Will have to see if this affects any other > packages...
According to the upstream perl-bug report [1], <asm/page.h> was included to get the definition of getpagesize() a long time ago. Once the prototype for getpagesize() got moved into <unistd.h>, <asm/page.h> was no longer necessary, but it never got removed. (It sounds like no Perl version ever used PAGE_SIZE, in other words. It sounds like they all used the proper getpagesize() function, they just got it from different places.) Removing it is safe according to the rationale there. (There is a concern about older glibc versions in that thread, with no response. But that doesn't apply to us.) [1] http://www.nntp.perl.org/group/perl.perl5.porters/2007/02/msg121370.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIDmJvS5vET1Wea5wRA22hAKCV5U3OxmT90lEY59Qku2nmf0GI7gCgrdEV xPc84Ek7Be+tdY/GqyASaKg= =9wQk -----END PGP SIGNATURE----- -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page