]> sourceware.org Git - glibc.git/commit
linux: use fd_to_filename instead of _fitoa_word in ttyname_r.
authorÉrico Nogueira <ericonr@disroot.org>
Tue, 4 May 2021 01:51:51 +0000 (22:51 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 7 May 2021 16:54:43 +0000 (13:54 -0300)
commit0fb3dadca2548df348904d083b4d911fa25503f5
tree52e265aa7bea977c82a615ccffdd9482138168ec
parent330001202ada53dcf3de81f95edc2616f8d75c68
linux: use fd_to_filename instead of _fitoa_word in ttyname_r.

Simplifies the logic and makes intent clearer, while at the same time
decreasing binary size.

On x86_64, dropped from 1883270 to 1883206, a 64 byte decrease.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
sysdeps/unix/sysv/linux/ttyname_r.c
This page took 0.041872 seconds and 5 git commands to generate.