Skip Menu |

This queue is for tickets about the Ocsinventory-Agent CPAN distribution.

Report information
The Basics
Id: 41432
Status: open
Priority: 0/
Queue: Ocsinventory-Agent

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

Bug Information
Severity: (no value)
Broken in: 0.0.9.2
Fixed in: (no value)



Subject: Do not use pack ('S n a4 x8',...)
It seems that in current versions of FreeBSD, at least on the amd64 architecture, the old style to pack the port and address for bind() etc. does not work anymore. That is, you cannot use pack ('S n a4 x8',...) like you did in lib/Ocsinventory/Agent/Option/Download.pm, but should rather use the pack_sockaddr_in function from Socket.pm. Regards, Slaven
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #41432] Do not use pack ('S n a4 x8',...)
Date: Fri, 5 Dec 2008 14:35:03 +0100
To: Slaven_Rezic via RT <bug-Ocsinventory-Agent [...] rt.cpan.org>
From: Gonéri Le Bouder <goneri [...] rulezlan.org>
On Thu, Dec 04, 2008 at 01:29:04PM -0500, Slaven_Rezic via RT wrote: Show quoted text
> Thu Dec 04 13:28:50 2008: Request 41432 was acted upon. > Transaction: Ticket created by SREZIC > Queue: Ocsinventory-Agent > Subject: Do not use pack ('S n a4 x8',...) > Broken in: 0.0.9.2 > Severity: (no value) > Owner: Nobody > Requestors: SREZIC@cpan.org > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=41432 > > > > It seems that in current versions of FreeBSD, at least on the amd64 > architecture, the old style to pack the port and address for bind() etc. > does not work anymore. That is, you cannot use > > pack ('S n a4 x8',...) > > like you did in lib/Ocsinventory/Agent/Option/Download.pm, but should > rather use the pack_sockaddr_in function from Socket.pm.
Thank you for the feed back. I'll change that. Cheers, Gonéri
Download signature.asc
application/pgp-signature 189b

Message body not shown because it is not plain text.

Le Jeu. Déc. 04 13:28:50 2008, SREZIC a écrit : Show quoted text
> It seems that in current versions of FreeBSD, at least on the amd64 > architecture, the old style to pack the port and address for bind() etc. > does not work anymore. That is, you cannot use > > pack ('S n a4 x8',...) > > like you did in lib/Ocsinventory/Agent/Option/Download.pm, but should > rather use the pack_sockaddr_in function from Socket.pm.
Hum I'm a bit lost. Which part of the code do you speak about? Cheer, Gonéri