diff options
author | André Draszik <git@andred.net> | 2020-01-10 16:52:53 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-11 09:19:20 +0000 |
commit | a1a0fa131768bcc52d87ee16d0d790d4f51b2237 (patch) | |
tree | 6ee232dbacbeb75884b593617a936cdd23169f91 /LICENSE | |
parent | e594841ef5644b8a09878c8a949b05c71de4f594 (diff) | |
download | poky-a1a0fa131768bcc52d87ee16d0d790d4f51b2237.tar.gz |
site: set getcwd() behaviour for long paths for glibc / musl
In glibc, getcwd() handles long file names properly, on
musl, getcwd() only works up to PATH_MAX directory depths.
Configuring the autotools (gnulib) test result here allows
coreutils to compile more optimised code for both platforms,
rather than being pessimistic and re-implementing everything
itself.
The difference in behaviour is because both do the kernel
getcwd syscall (which only supports up to PATH_MAX), but
glibc implements fallbacks for longer paths, while musl
doesn't.
(From OE-Core rev: 525e33cf99983ee4bc3cf1822364123551aa7c83)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions