From: Mark Levedahl Date: Fri, 19 Jul 2013 23:08:30 +0000 (-0400) Subject: Cygwin 1.7 supports mmap X-Git-Tag: v1.8.4-rc0~4^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f593ef77792c36eeb1b92ed3661ed284502afdfb;p=git Cygwin 1.7 supports mmap git has shipped for years with MMAP enabled in the stock distribution, there are no reports of problems / failures on the list relating to this. Leave the default as-is on v1.5 due to lack of knowlege of this working on earlier Cygwin. Signed-off-by: Mark Levedahl Signed-off-by: Junio C Hamano --- diff --git a/config.mak.uname b/config.mak.uname index ce0390db55..257b1ad2a1 100644 --- a/config.mak.uname +++ b/config.mak.uname @@ -160,6 +160,10 @@ ifeq ($(uname_O),Cygwin) NO_IPV6 = YesPlease OLD_ICONV = UnfortunatelyYes NO_THREAD_SAFE_PREAD = YesPlease + # There are conflicting reports about this. + # On some boxes NO_MMAP is needed, and not so elsewhere. + # Try commenting this out if you suspect MMAP is more efficient + NO_MMAP = YesPlease else NO_REGEX = UnfortunatelyYes endif @@ -167,10 +171,6 @@ ifeq ($(uname_O),Cygwin) NO_FAST_WORKING_DIRECTORY = UnfortunatelyYes NO_TRUSTABLE_FILEMODE = UnfortunatelyYes NO_ST_BLOCKS_IN_STRUCT_STAT = YesPlease - # There are conflicting reports about this. - # On some boxes NO_MMAP is needed, and not so elsewhere. - # Try commenting this out if you suspect MMAP is more efficient - NO_MMAP = YesPlease X = .exe COMPAT_OBJS += compat/cygwin.o UNRELIABLE_FSTAT = UnfortunatelyYes