There's a merged pull request on the void-packages repository git: correct ac_cv_fread_reads_directories on all platforms https://github.com/void-linux/void-packages/pull/18139 Description: From commit bf8bba6, (git: correct ac_cv_fread_reads_directories on musl, 2018-11-14), we've correctly set ac_cv_fread_reads_directories for git linked with musl-libc variant. Unfortunately, glibc also allows fopen on directory. But, I was obsessed with musl-libc at the time, hence forgot to run the test for glibc. Correct it. --- Discovered this problem when I run check on v2.25.0.rc2 in preparation for the next release.