diff options
author | crupest <crupest@outlook.com> | 2025-04-08 16:49:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-08 10:49:34 +0200 |
commit | bcc799a16ebb171b9be60a9ac69312ef020e7358 (patch) | |
tree | 851e1a5e67077267a556a89ccabd93172d0a4bd7 /docs/src | |
parent | fc29c125d41792e931afe7cf0bc9283499bfd59d (diff) | |
download | libuv-bcc799a16ebb171b9be60a9ac69312ef020e7358.tar.gz libuv-bcc799a16ebb171b9be60a9ac69312ef020e7358.zip |
unix: use pipe_fname if getsockname returns nothing (#4748)
On some platforms (like GNU/Hurd), `getsockname` returns an empty
string for sockets in the UNIX domain. However, we do have stored the
path info in `pipe_fname` of `uv_pipe_t`, so we can try with it
if `getsockname` returns an empty string.
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions