about summary refs log tree commit diff
path: root/src/thread/synccall.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2022-09-19 19:09:02 -0400
committerRich Felker <dalias@aerifal.cx>2022-09-19 19:09:02 -0400
commitf9827fc7da55c7b03ea5f36598ce8782c03e9d6e (patch)
treeb756b3e231836f2e8008c95fcdd251141d2f4173 /src/thread/synccall.c
parentf081d5336a80b68d3e1bed789cc373c5c3d6699b (diff)
downloadmusl-f9827fc7da55c7b03ea5f36598ce8782c03e9d6e.tar.gz
musl-f9827fc7da55c7b03ea5f36598ce8782c03e9d6e.tar.xz
musl-f9827fc7da55c7b03ea5f36598ce8782c03e9d6e.zip
remove impossible error case from gethostbyname2_r
EAI_MEMORY is not possible because the resolver backend does not
allocate. if it did, it would be necessary for us to explicitly return
ENOMEM as the error, since errno is not guaranteed to reflect the
error cause except in the case of EAI_SYSTEM, so the existing code was
not correct anyway.
Diffstat (limited to 'src/thread/synccall.c')
0 files changed, 0 insertions, 0 deletions