diff options
| author | bors <bors@rust-lang.org> | 2018-04-24 14:15:56 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-04-24 14:15:56 +0000 |
| commit | 38e251ba37231f3471a20a13f503b191ed25a499 (patch) | |
| tree | 13d4e5496bc54d4c8b64877f39afe32c0bf287e1 /src/rustllvm/PassWrapper.cpp | |
| parent | 2a6200a5c8f19763268f531302ed7ddccf1e7204 (diff) | |
| parent | da6142c81057342d8d6686ae4078995aab73b5bc (diff) | |
| download | rust-38e251ba37231f3471a20a13f503b191ed25a499.tar.gz rust-38e251ba37231f3471a20a13f503b191ed25a499.zip | |
Auto merge of #50079 - NickAtAccuPS:android_abstract_socket, r=sfackler
Android abstract unix domain sockets AddressKind correction The prior check causes abstract unix domain sockets to return AddressKind::Unnamed instead of AddressKind::Abstract on Android. Other than the immediately proceeding comment "macOS seems to return a len of 16 and a zeroed sun_path for unnamed addresses" the check as-implemented does not seem to have alternative explanation. I couldn't find an alternative explanation while stepping though git blame. I suspect the AddressKind::Unnamed nonzero check should instead be if macos, length 16, and zeroed array. @sfackler could you comment on this, the code as-is is the same from your initial addition of abstract uds support.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
