Re: [PATCH] git-compat-util: prefer poll.h to sys/poll.h
- From
Danh Doan <congdanhqx@gmail.com>
- Date
- Nov 14, 2018, 05:32 UTC
- Message-ID
- <87h8gkrzpu.fsf@congdanhqx.xyz>
- In-Reply-To
- <20181114014307.GM890086@genre.crustytoothpaste.net>
"brian m. carlson" <sandals@crustytoothpaste.net> writes:
Show 7 quoted lines
>> - t1308.23 is failing because musl `fopen` is success when open directory >> in readonly mode. POSIX allows this behavior: >> http://pubs.opengroup.org/onlinepubs/7908799/xsh/fopen.html >> [EISDIR] >> The named file is a directory and mode requires write access. > > Does setting FREAD_READS_DIRECTORIES fix this?
Yes, setting FREAD_READS_DIRECTORIES fixes this. And, `configure` can set that itself.
I blindly followed the Void's build template which explicitly unset it in the configure script without investigating it. My bad!
I'll send them a patch to fix this downstream.
> -- > brian m. carlson: Houston, Texas, US > OpenPGP: https://keybase.io/bk2204
-- Danh