| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
POSIX says at least one of the parameters must be non-NULL. z/OS
requires both to be.
It would be better to have a Configure probe for this, but this is the
first non-conforming OS we have found, and at this stage, there aren't
likely to be any others that Perl might eventually be ported to. Should
some come along, a probe could be added at that time.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
There are a number of files excluded using gitignore rules that are
included in the repository. This can lead to confusion if something
other than git tries to read the ignore files.
Add rules to the gitignore files so that these files won't be ignored.
|
|
|
|
| |
Match recent release on CPAN
|
| |
|
|
|
|
| |
Addresses RT # 132737.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2.025 2018-01-09 15:12:51
[CHANGES]
* Add IPPROTO_ICMPV6
[BUGFIXES]
* Fix for C++11 compilers - require a space either side of
string-pasting macros (thanks Karl Williamson)
* Fix for machines lacking HAS_SOCKADDR_IN6 (RT116913) (thanks ilmari)
* Print to STDERR on test failures (RT123436) (thanks ilmari)
2.024 2016/08/11 13:49:48
[BUGFIXES]
* Restore back-compat to pre-2.011 behaviour on undefined port
numbers to pack_sockaddr_in(6?) - silently accept undef as zero
(RT116699)
* Warn if pack_sockaddr_un is truncating an overly long path
(mitigates but does not resolve RT116819)
2.023 2016/08/02 14:50:50
[CHANGES]
* Add more socket(7), ip(7) and ipv6(7) socket options from Linux
[BUGFIXES]
* Fix skip count for abstract AF_UNIX path tests when not running on
Linux
2.022 2016/08/01 16:02:48
[CHANGES]
* Throw exceptions if pack/unpack sockaddr functions are passed
undefined arguments (RT116624)
[BUGFIXES]
* Fix coverty complaint (RT111707)
2.021 2015/11/18 17:09:13
[CHANGES]
* Add constants for TCP fastopen (RT105155)
[BUGFIXES]
* Respect HAS_GETHOSTBYNAME before calling gethostbyname() (RT105947)
* Fixes for inet_pton() fallback on Win32 (RT107058)
* Fix for INET_ADDRSTRLEN on AmigaOS (really!) (RT106797)
* Provide gai_strerror() fallback on platforms that lack one
(RT76091)
|
|
|
|
|
|
| |
Commit 0cdc775ef423ad6415e6f80b9244c17a52bf5149 made a small change in
cpan/Socket/Socket.pm, causing a porting test failure, which is solved
by a version bump, and changing customized.dat to account for that.
|
|
|
|
|
|
| |
We have a customised version with _ in the version, which causes
warnings from modules that check it numerically instead of calling
->VERSION(...).
|
|
|
|
|
|
| |
This reverts commit 3e7b45e4a2b8308f16a5ca9443c3f6b8caafe0a6.
Reason: test failures on Win32 not yet fully addressed.
|
|
|
|
|
|
| |
'porting/customized.t --regen' for Socket.pm and .xs
perldelta entry for Socket 2.020 to 2.024 upgrade.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Coverity CID 135025 (#1 of 1): Out-of-bounds read (OVERRUN)
29. overrun-local: Overrunning array addr.sun_path of 108 bytes at byte offset 108 using index addr_len (which evaluates to 108).
864 for (addr_len = 0; addr.sun_path[addr_len]
28. incr: Incrementing addr_len. The value of addr_len may now be up to 108.
865 && addr_len < maxlen; addr_len++);
Reported upstream as
https://rt.cpan.org/Ticket/Display.html?id=111707
|
|
|
|
|
|
| |
This reverts commit 0bd66ca801c5fb84ee6a8feeb8114f0d8248029f.
Worked for me, but Jenkins isn't happy :-(
|
|
|
|
| |
Blead customizations are now assimilated.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-VC complains in inet_pton
"warning C4715: 'inet_pton' : not all control paths return a value"
this isn't much a problem since Socket.xs doesn't allow anything but
AF_INET and AF_INET6 on a XSUB level but fix the implementation anyway
since the previous cargo culted off the internet version has flaws, so
the Socket.xs version is usable elsewhere if necessery
-remove copying the string to C auto array, unix inet_ptoa requires null
terminated strings, so does WSAStringToAddress. WSAStringToAddress's docs
dont mention a maximum length to the input string, so no reason to
truncate and re-null terminate it
-MSDN's docs for WSAStringToAddress mentions that filling in sin_family
is required, even though lpAddress is an output arg, not input and a
duplicate of arg AddressFamily, there is probably some legacy protocol
driver out in the world that requires this
-static the functions, these fallbacks dont need to be visible in any other
.o, and with static they might be inlined/further optimized
-provide fallbacks for Visual C 6 (circa 1998) with very old headers that
were created before RFC 2553 was created
|
| |
|
|
|
|
| |
Upstreamed: https://rt.cpan.org/Ticket/Display.html?id=106797
|
| |
|
|
|
|
|
|
|
|
|
| |
[DELTA]
2.019 2015/04/29 17:05:33
[BUGFIXES]
* Provide emulations of inet_ntop/inet_pton on MSWin32 by using
WSAStringToAddress/WSAAddressToString
|
|
|
|
|
|
|
|
| |
[DELTA]
2.018 2015/02/12 13:42:41
[BUGFIXES]
* Fix for "addr is not a string" test to use SvPOKp() before 5.18
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
2.017 2015/02/10 12:05:14
[CHANGES]
* Added some more SO_* constants defined on Linux (thanks
Ronald van Dorp)
[BUGFIXES]
* Remember to SvGETMAGIC in getnameinfo() (RT79557)
* Quiet some compiler warnings (RT101495, RT100736)
* Fix "Attempt to free unreferenced scalar" warnings (RT78626, et.al.)
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
2.016 2014/10/08 21:53:10
[BUGFIXES]
* Wrap configure tests in a {} block in case of C99-deficient
compilers (RT99363)
* #include <stddef.h> so that NULL definitely exists (RT98248)
* Need to pass NI_NUMERICSERV during unit tests for some OSes not to
error (VMS) (RT98217)
|
|
|
|
| |
Waiting to be merged upstream: see CPAN RT#98217.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
2.014 2014/06/01 00:09:13
[BUGFIXES]
* Make sure to (UV)-cast arguments sprintf'ed with UVf
* Use STRUCT_OFFSET() instead of plain C99 offsetof() (RT96036)
* Fix the regexp used to filter for numeric IP addresses in
fake_getaddrinfo() (RT95758)
* Protect against getprotobyname() not being available (RT90217)
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
2.013 2031/10/28 00:49:43
[BUGFIXES]
* Unit-test bugfixes for VMS (RT89766):
+ Need to pass protocol => IPPROTO_TCP to avoid SCTP as well
+ Perform AI_NUMERICHOST test against non-"localhost"
+ May have to set NI_NUMERICSERV flag if it fails without
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
2013/06/24
2.010 CHANGES:
* Wrap some IPTOS_* constants, which may come from <netinet/ip.h>
* Probe for and optionally include <netinet/ip.h>
* Defeat C compilers' attempts to optimise away configure-time probes
for functions that are never called
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
2013/01/18
2.009 CHANGES:
* Fix building in core by skipping check_for() as it doesn't work
there (RT82760)
2012/12/27
2.008 CHANGES:
* Fix uninitialised memory read (RT82119)
2012/12/16
2.007 CHANGES:
* Test %Config keys for definedness, not mere existence (RT79854)
* Fix missing argument in sprintf in Socket.xs (from perl.git
5d6dfea82e1c4b6, RT82007)
|
|
|
|
|
|
|
| |
This reverts commit 90ae46a10a094e68135385e525c78962d6572da3.
Socket 2.008 fails to build on Linux in core, and possibly other
platforms as well.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2012/12/27
2.008 CHANGES:
* Fix uninitialised memory read (RT82119)
2012/12/16
2.007 CHANGES:
* Test %Config keys for definedness, not mere existence (RT79854)
* Fix missing argument in sprintf in Socket.xs (from perl.git
5d6dfea82e1c4b6, RT82007)
|
|
|
|
|
|
|
|
| |
Shows up as:
Socket.xs:919:16: warning: more '%' conversions than data arguments [-Wformat]
Socket.xs:925:16: warning: more '%' conversions than data arguments [-Wformat]
This bumps the version as well.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
2.001 CHANGES:
* Apply (modified) patch from ppisar@redhat.com to fix memory
addressing bug with Zero() - RT76067
* Document that inet_pton() doesn't work on hostnames, only textual
addresses - RT76010
* Ignore any existing-but-undefined hints hash members to
getaddrinfo()
Done for the critical RT76067 fix.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
1.98 CHANGES:
* Detect presence of sockaddr_in6 and ipv6_mreq; conditionally build
pack/unpack functions on this
* Back-compatibility improvements for older perls, back as far as
5.6.1 (thanks Zefram)
* Fix for picky compilers or platforms on which size_t doesn't
printf() correctly by %d
* Suppress some harmless compile-time warnings about unused variables
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
1.97 CHANGES:
* Rewritten Makefile.PL configure-time logic to use only core's
ExtUtils::CBuilder rather than CPAN's ExtUtils::CChecker
* Fix implementation of synthesized newSVpvn_flags() to also work on
threaded 5.10.0
* Set INSTALLDIRS=perl on perl before 5.11; required as it's
replacing a core module
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
1.96 CHANGES:
* Fix Socket.t to use ok() instead of is() where required - RT73039
* Complete rewrite of module docs; list all the constants and
functions, updated SYNOPSIS
* Added convenient Exporter tag :addrinfo for all the gai/gni-related
symbols
* Provide static synthesized newSVpvn_flags() replacement for older
Perls
* Implement getnameinfo() NIx_NOHOST and NIx_NOSERV extension flags
1.95 CHANGES:
* Implement the remaining AI_*, EAI_* and NI_* constants from
Socket::GetAddrInfo
* Declare configure-time dependency on ExtUtils::Constants 0.23 for
when building out of core
* Initial attempt at dual-life extraction from bleadperl
|
| |
|
| |
|