diff options
author | Zefram <zefram@fysh.org> | 2017-12-22 15:27:19 +0000 |
---|---|---|
committer | Zefram <zefram@fysh.org> | 2017-12-22 16:37:51 +0000 |
commit | 498362941ad4570ba014a62bbe2ab23f1ea2933f (patch) | |
tree | 14cd82d031db0d7b88885c3cda577cbfb54e8dc6 /perl.c | |
parent | a50ffd24fc4971e22bead1ab6f1eada47e042362 (diff) | |
download | perl-498362941ad4570ba014a62bbe2ab23f1ea2933f.tar.gz |
set FD_CLOEXEC on debug-leaking-scalars sockets
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -742,7 +742,7 @@ perl_destruct(pTHXx) fail gracefully */ int fd[2]; - if(socketpair(AF_UNIX, SOCK_STREAM, 0, fd)) { + if(PerlSock_socketpair_cloexec(AF_UNIX, SOCK_STREAM, 0, fd)) { perror("Debug leaking scalars socketpair failed"); abort(); } |