path: root/
diff options
authorEric Sunshine <>2018-04-09 08:50:42 (GMT)
committerJunio C Hamano <>2018-04-09 09:50:35 (GMT)
commit249482daf0ee2612022775fc8c549b06eb9f567b (patch)
tree929e32f1275d596d6dda08c6f7388eafe31ded35 /
parent3adf9fdecfb0cd31a83ef3af1d8d631a1acd392b (diff)
git-249482daf0ee2612022775fc8c549b06eb9f567b.tar.bz2 fix botched FREAD_READS_DIRECTORIES check
3adf9fdecf ( loosen FREAD_READS_DIRECTORIES test program, 2017-06-14) broke the test program for the FREAD_READS_DIRECTORIES check by making it syntactically invalid (a dangling ")") and by botching the type returned from 'main' (a FILE* rather than int). As a consequence, the test program won't even compile, thus the check fails unconditionally. Fix these problems. Reported-by: Jonathan Primrose <> Signed-off-by: Eric Sunshine <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to '')
1 files changed, 1 insertions, 1 deletions
diff --git a/ b/
index ceeb9de..e33b6c7 100644
--- a/
+++ b/
@@ -867,7 +867,7 @@ AC_RUN_IFELSE(
FILE *f = fopen(".", "r");
- return f)]])],
+ return f != NULL;]])],