[PATCH v3 2/3] realpath: Set errno to ENAMETOOLONG for result larger than PATH_MAX [BZ #28770]
Joseph Myers
joseph@codesourcery.com
Fri Jan 21 23:22:33 GMT 2022
On Thu, 20 Jan 2022, Siddhesh Poyarekar via Libc-alpha wrote:
> diff --git a/stdlib/tst-realpath-toolong.c b/stdlib/tst-realpath-toolong.c
> + char buf[PATH_MAX + 1];
This has broken the testsuite build for Hurd.
tst-realpath-toolong.c: In function 'do_test':
tst-realpath-toolong.c:37:12: error: 'PATH_MAX' undeclared (first use in this function)
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list