This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
pp_sys.c: don't hardcode socket address buffer size
authorTomasz Konojacki <me@xenu.pl>
Thu, 30 Apr 2020 06:42:40 +0000 (06:42 +0000)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Tue, 19 May 2020 07:03:49 +0000 (09:03 +0200)
commit5fd8dd0d3bb7aa8dd0a0a8602deb24bb3323bd5c
treebeba1d61ff2073c745dc688ece8412a5d4cb65a3
parent0a49e94867e32932f6fac0fc9297840a8b9ef6cf
pp_sys.c: don't hardcode socket address buffer size

When it's possible, use sizeof(struct sockaddr_storage).

fixes #17761
metaconfig.h
pp_sys.c