develooper Front page | perl.perl5.porters | Postings from June 2004

Re: [perl #29969] h2ph not correctly processing glibcsys/sysmacros.ph

Thread Previous
From:
Rafael Garcia-Suarez
Date:
June 10, 2004 10:50
Subject:
Re: [perl #29969] h2ph not correctly processing glibcsys/sysmacros.ph
Message ID:
20040610194703.44001837@localhost
I wrote:
> Wait, the story is not over; in recent glibcs (glibc-devel-2.3.3-12mdk)
> sysmacros.h contains evil inline functions:
> 
>     __extension__ extern __inline unsigned int
>     gnu_dev_major (unsigned long long int __dev) __THROW
>     {
>       return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
>     }
> 
> and so on.

I've commited a rough patch (#22925) to bleadperl to "fix" this. It
makes the situation a bit better (and the regression tests of Sys::Mknod
now pass on mandrake-cooker -- if Sam Vilain hears us.)

I strongly recommend that this is backported to maintperl. At least I'm
currently in the process of integrating it with the 5.8.4 that ships
with Mandrakelinux.

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About