]> git.ipfire.org Git - thirdparty/glibc.git/commit
Linux: consolidate readlink implementation
authorAdhemerval Zanella Netto <adhemerval.zanella@linaro.org>
Wed, 19 Oct 2022 22:14:14 +0000 (19:14 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 7 Dec 2022 14:27:01 +0000 (11:27 -0300)
commit2fc81f6ca56f1df5323fc849f3f8dc40f38fc5b2
treef8444a5d2f2cf2fae5d8dae3f4125d8f51688dfc
parentccb9215dbe414207d9ee63bb85e9fa6daac4f641
Linux: consolidate readlink implementation

Use readlink syscall if defined, otherwise readlinkat.

Checked on x86_64-linux-gnu.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
sysdeps/unix/sysv/linux/readlink.c [moved from sysdeps/unix/sysv/linux/generic/readlink.c with 80% similarity]