summaryrefslogtreecommitdiff
path: root/Mac
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2019-10-10 21:30:20 +0200
committerGitHub <noreply@github.com>2019-10-10 21:30:20 +0200
commitd565fb9828ee9c494bb7a80057a08e4738273e30 (patch)
tree93fda6393b2dd321afa6f928abd3c5b6a13c12fc /Mac
parent1dbe5373851acb85ba91f0be7b83c69563acd68d (diff)
downloadcpython-git-d565fb9828ee9c494bb7a80057a08e4738273e30.tar.gz
bpo-38282: Rewrite getsockaddrarg() helper function (GH-16698)
Rewrite getsockaddrarg() helper function of socketmodule.c (_socket module) to prevent a false alarm when compiling codde using GCC with _FORTIFY_SOURCE=2. Pass a pointer of the sock_addr_t union, rather than passing a pointer to a sockaddr structure. Add "struct sockaddr_tipc tipc;" to the sock_addr_t union.
Diffstat (limited to 'Mac')
0 files changed, 0 insertions, 0 deletions