summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-07-21 14:57:37 -0700
committerJunio C Hamano <gitster@pobox.com>2017-07-21 14:57:37 -0700
commit3e05c534314fd5933ff483e73f54567a20c94a69 (patch)
treef726ab82e0f63560e02e33f18571cffa3c387cba
parenta491307448356087da7a96503192550175446d9d (diff)
parenta5956d6a565a10dcaa0d72059866aef91bc01fbc (diff)
downloadgit-3e05c534314fd5933ff483e73f54567a20c94a69.tar.gz
Merge branch 'rj/cygwin-fread-reads-directories'
It turns out that Cygwin also needs the fopen() wrapper that returns failure when a directory is opened for reading. * rj/cygwin-fread-reads-directories: config.mak.uname: set FREAD_READS_DIRECTORIES for cygwin
-rw-r--r--config.mak.uname1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.mak.uname b/config.mak.uname
index 551e465a78..6604b130f8 100644
--- a/config.mak.uname
+++ b/config.mak.uname
@@ -185,6 +185,7 @@ ifeq ($(uname_O),Cygwin)
SPARSE_FLAGS = -isystem /usr/include/w32api -Wno-one-bit-signed-bitfield
OBJECT_CREATION_USES_RENAMES = UnfortunatelyNeedsTo
COMPAT_OBJS += compat/cygwin.o
+ FREAD_READS_DIRECTORIES = UnfortunatelyYes
endif
ifeq ($(uname_S),FreeBSD)
NEEDS_LIBICONV = YesPlease