On Tue, Mar 22, 2005 at 06:27:32PM +0100, Michael Banck wrote:
>[EMAIL PROTECTED]:~/build$ grep EINPROGRESS /usr/lib/perl/5.8.4/Errno.pm 
>[EMAIL PROTECTED]:~/build$ 

>I think this is due to no general glibc inclusion of <errno.h> in
>perl-5.8.4/ext/Errno/Errno_pm.PL, only linux is tested for.  So I guess
>either a test for 'gnu' (or whatever perl calls it) should be added or
>the 'linux' test be generalized for all glibc-using architectures.

While there is a specific test for linux, there is also a fallback case
which uses cc to determine what "<errno.h>" resolves to.  Tested to work
under linux by changing "linux" in the test to "xinu" (or whatever).

The result is a functionally identical Errno.pm (some differences in
ordering).

I'd be curious to know why that fallback case doesn't work under
hurd-i386.

If you wouldn't mind could you fetch and unpack the perl source, and try
the following please:

  cd /tmp
  perl -d $PERL_SRC/ext/Errno_pm.PL
  c 149
  p $cpp
  c 172
  x \%file
  ^D

--bod


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to