[all-commits] [llvm/llvm-project] be2a42: [lldb] Fix SocketTest.DomainGetConnectURI on macOS...
Raphael Isemann via All-commits
all-commits at lists.llvm.org
Mon Sep 27 08:35:08 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: be2a4216fc5664ae465ec3dcc32fc3d40cecfdcd
https://github.com/llvm/llvm-project/commit/be2a4216fc5664ae465ec3dcc32fc3d40cecfdcd
Author: Raphael Isemann <teemperor at gmail.com>
Date: 2021-09-27 (Mon, 27 Sep 2021)
Changed paths:
M lldb/source/Host/posix/DomainSocket.cpp
Log Message:
-----------
[lldb] Fix SocketTest.DomainGetConnectURI on macOS by stripping more zeroes from getpeername result
Apparently macOS is padding the name result with several padding zeroes at
the end. Just strip them all to pretend it's a C-string.
Thanks to Pavel for suggesting this fix.
More information about the All-commits
mailing list