[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl5-porters
Subject:    [perl #130856] dist/IO/t/cachepropagate-unix.t AIX 5.3 failure in blead feca1a
From:       "Tony Cook via RT" <perlbug-followup () perl ! org>
Date:       2017-02-27 5:16:23
Message-ID: rt-4.0.24-26179-1488172583-1496.130856-15-0 () perl ! org
[Download RAW message or body]

On Sun, 26 Feb 2017 16:46:54 -0800, jhi wrote:
> > How big is the sun_len field in struct sockaddr_un on AIX?
> > 
> > Given the error it sounds like it might be byte-sized, despite
> 
> Yup, sizeof() for sun_len seems to be only one.  The <sys/un.h> has:
> 
...
> struct  sockaddr_un {
> uchar_t     sun_len;            /* sockaddr len including null
> */
...

I've added a note to https://rt.cpan.org/Ticket/Display.html?id=116819 about the \
possibility of the length being too large for sun_len.

> 
> > sun_path being larger.
> > 
> > I'd only expect to see this error if TMPDIR is around 1000 characters
> > long, which seems excessive.
> > 
> > The attached might fix this for you.
> 
> Indeed it does:
> 
> ./perl -Ilib dist/IO/t/cachepropagate-unix.t
> 1..0 # SKIP socketpath too long for sockaddr_un

Thanks, patch applied to blead as aa9ac6cf00899a6f55881d4ca6c1214215dc83ee.

Tony



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic