summaryrefslogtreecommitdiffstats
path: root/config.mak.uname
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-07-01 00:33:40 +0200
committerJunio C Hamano <gitster@pobox.com>2013-07-01 00:33:40 +0200
commitc6c4250eb605a502e1b5128d224561cf71272798 (patch)
treee12bdffbd7c6e7aea2ed75fcb610a836c0aef07a /config.mak.uname
parentMerge branch 'da/darwin' into maint (diff)
parentcompate/clipped-write.c: large write(2) fails on Mac OS X/XNU (diff)
downloadgit-c6c4250eb605a502e1b5128d224561cf71272798.tar.xz
git-c6c4250eb605a502e1b5128d224561cf71272798.zip
Merge branch 'fc/macos-x-clipped-write' into maint
Mac OS X does not like to write(2) more than INT_MAX number of bytes; work it around by chopping write(2) into smaller pieces. * fc/macos-x-clipped-write: compate/clipped-write.c: large write(2) fails on Mac OS X/XNU
Diffstat (limited to 'config.mak.uname')
-rw-r--r--config.mak.uname1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.mak.uname b/config.mak.uname
index d78fd3df5b..174703b67c 100644
--- a/config.mak.uname
+++ b/config.mak.uname
@@ -95,6 +95,7 @@ ifeq ($(uname_S),Darwin)
NO_MEMMEM = YesPlease
USE_ST_TIMESPEC = YesPlease
HAVE_DEV_TTY = YesPlease
+ NEEDS_CLIPPED_WRITE = YesPlease
COMPAT_OBJS += compat/precompose_utf8.o
BASIC_CFLAGS += -DPRECOMPOSE_UNICODE
endif