unpack_sockaddr error on UNIX domain sockets since Socket-2.011
Maxime Soulé
btik-cpan at scoubidou.com
Wed Mar 5 09:43:45 CET 2014
Hello Marc,
The version in CVS works. Sorry for the delay...
Best regards,
Max.
Le 21.02.2014 17:22, Marc Lehmann a écrit :
> On Thu, Feb 20, 2014 at 11:26:53AM +0100, Maxime Soulé <btik-cpan at scoubidou.com> wrote:
>> Socket-2.011 corrected the long standing bug concerning short
>> sockaddr_un structures.
>
> By introducing another bug that breaks existing software - but then, the
> Socket maintainer has a history of deliberately breaking AnyEvent.
>
>> But as this bug is corrected in Socket, Socket::unpack_sockaddr_un
>> now complains because the sockaddr_un structure has not the size
>> specified inside it, in AnyEvent::Socket::unpack_sockaddr:
>
> Which would be entirely valid - it would be great if this new bug could be
> reported by somebody not openly affiliated with AnyEvent though, maybe it
> can get fixed?
>
>> The attached patch avoid the problem by "patching" such structures
>> only when $Socket::VERSION < 2.011...
>
> Thanks a lot for tracking this down, next version of AnyEvent will have
> the workaround. In fact, I slightly changed the patch - is it possible
> that you verify that the version in CVS works?
>
More information about the anyevent
mailing list