Skip Menu |

This queue is for tickets about the Socket CPAN distribution.

Report information
The Basics
Id: 96874
Status: resolved
Priority: 0/
Queue: Socket

People
Owner: Nobody in particular
Requestors: JHI [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.014
Fixed in: 2.015



Subject: Solaris 10 getaddrinfo failure FIXED with PATCH
This failure (using the 2.014 from perl5 HEAD): not ok 25 - $err == 0 for 127.0.0.1/80/flags=AI_NUMERICHOST # Failed test '$err == 0 for 127.0.0.1/80/flags=AI_NUMERICHOST' # at cpan/Socket/t/getaddrinfo.t line 106. # $err is service name not available for the specified socket type is simply caused by Solaris not shipping http/80 in its /etc/services. The proposed attached patch adds a loop that goes through commonly available services, and declares victory when one of them succeeds, and fails finally if none of them did.
Subject: getaddrinfo.pat
Download getaddrinfo.pat
application/octet-stream 1.3k

Message body not shown because it is not plain text.

On Tue Jul 01 21:57:18 2014, JHI wrote: Show quoted text
> is simply caused by Solaris not shipping http/80 in its /etc/services. > The proposed attached patch adds a loop that goes through commonly > available services, and declares victory when one of them succeeds, > and fails finally if none of them did.
Oops; really? I thought I'd gone through those tests and made sure I wasn't relying on silly things like that. Seems I missed one. -- Paul Evans
Patch applied via some minor reformatting; will be in next release. -- Paul Evans
Released in 2.015 -- Paul Evans