Re: canonicalize test failures on Cygwin

2021-01-21 Thread Bruno Haible
Ken Brown wrote: > Thanks for confirming. I've submitted a patch that fixes this: > >https://cygwin.com/pipermail/cygwin-patches/2021q1/010985.html Thanks. > This fixes a failing gnulib test of realpath(3). More importantly, it fixes a POSIX compliance issue: https://pubs.opengroup.org/onl

Re: canonicalize test failures on Cygwin

2021-01-21 Thread Ken Brown
On 1/20/2021 3:31 AM, Bruno Haible wrote: Ken Brown wrote: I took a quick look, and it appears that this is a Cygwin bug in which realpath() fails with ENOENT instead of ENOTDIR. Yes, I confirm. POSIX says that when one

Re: canonicalize test failures on Cygwin

2021-01-20 Thread Bruno Haible
Ken Brown wrote: > I took a quick look, and it appears that this is a Cygwin bug in which > realpath() fails with ENOENT instead of ENOTDIR. Yes, I confirm. POSIX says that when one of the components "names an existing fil

Re: canonicalize test failures on Cygwin

2021-01-17 Thread Ken Brown
On 1/17/2021 11:04 AM, Bruno Haible wrote: Hi Paul, Some of the new tests that you added to test-canonicalize.c and test-canonicalize-lgpl.c on 2020-12-24 fail on Cygwin 2.9: /* Check that a non-directory symlink with trailing slash yields NULL, and likewise for other troublesome suffi

Re: canonicalize test failures on Cygwin

2021-01-17 Thread Paul Eggert
On 1/17/21 8:04 AM, Bruno Haible wrote: The tests in the 'for' loop fail for i = 5 ... 10. That is, something with the ".." handling is not working as expected. Do you have access to a Cygwin machine for investigation? Unfortunately not; I'm really not a Cygwin guy. OK with me if we simply di

canonicalize test failures on Cygwin

2021-01-17 Thread Bruno Haible
Hi Paul, Some of the new tests that you added to test-canonicalize.c and test-canonicalize-lgpl.c on 2020-12-24 fail on Cygwin 2.9: /* Check that a non-directory symlink with trailing slash yields NULL, and likewise for other troublesome suffixes. */ { char const *const file_name[]