There is a new pull request by sgn against master on the void-packages repository https://github.com/sgn/void-packages git-correct-freads https://github.com/void-linux/void-packages/pull/18139 git: correct ac_cv_fread_reads_directories on all platforms 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. A patch file from https://github.com/void-linux/void-packages/pull/18139.patch is attached