develooper Front page | perl.perl5.porters | Postings from January 2017

[perl #130614] Bug: Errno_pm.PL:135

Thread Previous
From:
James E Keenan via RT
Date:
January 22, 2017 14:58
Subject:
[perl #130614] Bug: Errno_pm.PL:135
Message ID:
rt-4.0.24-27166-1485097092-1158.130614-15-0@perl.org
On Sat, 21 Jan 2017 20:42:51 GMT, sebastian.bw@freenet.de wrote:
> I can not figure out how to report a bug to perl ... but you for sure.
> 
> In file Errno_pm.PL: line 135 it should be:
> 
> 135:   my ($linux_errno_h) = grep { -e $_ } map { "$_/asm/errno.h" }
> 
> Linux has its errno.h in asm/errno.h else you get an error that it
> could not be
> found.

I don't know enough about Linux header files to agree or disagree with your main point, but I note that on my Ubuntu Linux machine, there is no /usr/include/asm directory:

#####
$ !11
find /usr/include -type f -name 'errno.h' | xargs ls -l
-rw-r--r-- 1 root root 5585 Jan  6 19:27 /usr/include/asm-generic/errno.h
-rw-r--r-- 1 root root 2367 Nov 16 17:43 /usr/include/errno.h
-rw-r--r-- 1 root root   23 Jan  6 19:27 /usr/include/linux/errno.h
-rw-r--r-- 1 root root   31 Jan  6 19:27 /usr/include/x86_64-linux-gnu/asm/errno.h
-rw-r--r-- 1 root root 2145 Nov 16 17:43 /usr/include/x86_64-linux-gnu/bits/errno.h
-rw-r--r-- 1 root root   19 Nov 16 17:43 /usr/include/x86_64-linux-gnu/sys/errno.h
#####
-- 
James E Keenan (jkeenan@cpan.org)

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=130614

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