]> sourceware.org Git - glibc.git/commit
hurd: Refactor readlinkat()
authorSergey Bugaev <bugaevc@gmail.com>
Sun, 12 Feb 2023 11:10:32 +0000 (14:10 +0300)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 12 Feb 2023 14:50:40 +0000 (15:50 +0100)
commit8a86e7b6a67f21294ada5bf67f3484ae3e134848
tree2194780e20d60d14a5ad1d1e907c531d16fcd840
parente42ec822190056895e55e5140ce2304e67e34445
hurd: Refactor readlinkat()

Make the code flow more linear using early returns where possible. This
makes it so much easier to reason about what runs on error / successful
code paths.

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Message-Id: <20230212111044.610942-2-bugaevc@gmail.com>
sysdeps/mach/hurd/readlinkat.c
This page took 0.042197 seconds and 5 git commands to generate.