about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorSebastien Marie <semarie@kapouay.eu.org>2024-04-11 08:43:38 +0000
committerSebastien Marie <semarie@kapouay.eu.org>2024-04-11 08:43:38 +0000
commit7aaad6b7e2c04f97c1f9472dfeecea9662a35bb4 (patch)
treebd91ac2c1e830864e2732eeca85202e8c2c899a5 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentf13f37fd7bbbc34c663311739176fe114ef51085 (diff)
downloadrust-7aaad6b7e2c04f97c1f9472dfeecea9662a35bb4.tar.gz
rust-7aaad6b7e2c04f97c1f9472dfeecea9662a35bb4.zip
OpenBSD fix long socket addresses
Original diff from @notgull in #118349, small changes from me.

on OpenBSD, getsockname(2) returns the actual size of the socket address, and 
not the len of the content. Figure out the length for ourselves.
see https://marc.info/?l=openbsd-bugs&m=170105481926736&w=2

Fixes #116523
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions