develooper Front page | perl.perl5.porters | Postings from September 2014

Re: [perl #122657] t/io/socket.t failing on hurd: peer from recv()should be empty or the remote name

Thread Previous | Thread Next
From:
Leon Timmermans
Date:
September 25, 2014 16:03
Subject:
Re: [perl #122657] t/io/socket.t failing on hurd: peer from recv()should be empty or the remote name
Message ID:
CAHhgV8g7NETV6u0aFRScJQXyM4UYeM5xSiKf6sj1qtDYoz8zMA@mail.gmail.com
On Thu, Sep 25, 2014 at 10:51 AM, Svante Signell <svante.signell@gmail.com>
wrote:

> FYI: With your patch the test still fails on GNU/Hurd :(
>

That is unexpected.


> Please: How to add (correct) print statements to see what is returned,
> you are the "perl" gurus??
>

printf "%s\n", unpack "H*", $recv_peer;
printf "%s\n", unpack "H*", getpeername $child,

That should give a hex-dump, which should give some information on why they
aren't identical.

Leon

Thread Previous | Thread Next


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