summary refs log tree commit diff
path: root/sysdeps/posix/ttyname_r.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-09-01 08:57:07 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-09-01 08:57:07 +0200
commit53250a21b81474ef4e78090a4a9a63d8471e1091 (patch)
tree180a9ed44fd6ced72c7f47947a4fb4ff2d2f9507 /sysdeps/posix/ttyname_r.c
parent924b121c5978689001ae28cf1c8497371dad4f71 (diff)
downloadglibc-53250a21b81474ef4e78090a4a9a63d8471e1091.tar.gz
glibc-53250a21b81474ef4e78090a4a9a63d8471e1091.tar.xz
glibc-53250a21b81474ef4e78090a4a9a63d8471e1091.zip
getaddrinfo: Use &h_errno has the h_errno pointer
This simplifies the code because it is not necessary to propagate the
temporary h_errno value to the thread-local variable.  It also increases
compatibility with NSS modules which update only one of the two places.
Diffstat (limited to 'sysdeps/posix/ttyname_r.c')
0 files changed, 0 insertions, 0 deletions