> Hi all,
>
> I was testing rc1 on Haiku and noticed that the file-access-test fails.
> It turns out that stat() on Haiku will return 0 when the path contains
> a trailing slash, even if it's a file (POSIX says it should return -1
> and set errno to ENOTDIR).
>
> Attached is a patch that copies
Hi all,
I was testing rc1 on Haiku and noticed that the file-access-test fails.
It turns out that stat() on Haiku will return 0 when the path contains
a trailing slash, even if it's a file (POSIX says it should return -1
and set errno to ENOTDIR).
Attached is a patch that copies part of the