summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-07-21 14:57:37 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-07-21 14:57:37 -0700
commit3e05c534314fd5933ff483e73f54567a20c94a69 (patch)
treef726ab82e0f63560e02e33f18571cffa3c387cba
parentMerge branch 'jc/po-pritime-fix' (diff)
parentconfig.mak.uname: set FREAD_READS_DIRECTORIES for cygwin (diff)
downloadtgif-3e05c534314fd5933ff483e73f54567a20c94a69.tar.xz
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