chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH] Fix stat() on non-directories so file-acce


From: felix . winkelmann
Subject: Re: [Chicken-hackers] [PATCH] Fix stat() on non-directories so file-access tests pass on Haiku
Date: Sun, 12 Aug 2018 21:45:21 +0200

> 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 workaround we have for MingW
> to Haiku.
>
> I've mentioned this in the Haiku IRC channel and they agree it's a bug
> so maybe a few releases from now we can take out this workaround again.
> They take even longer between "releases" than we do, though, so I think
> it's worthwhile to apply the patch.

Also pushed.


felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]