config.mak.uname: enable OPEN_RETURNS_EINTR for macOS Big Sur
authorJeff King <peff@peff.net>
Mon, 1 Mar 2021 09:29:47 +0000 (04:29 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Mar 2021 17:07:45 +0000 (09:07 -0800)
commitbbabaad29823890f328086c6f11b3dddc118adb8
tree963581dd57dd54852078d1b3fdfa4288feb53cb1
parent2b08101204066cc8221afb9029c07649f67da0a0
config.mak.uname: enable OPEN_RETURNS_EINTR for macOS Big Sur

We've had mixed reports on whether the latest release of macOS needs
this Makefile knob set. In most reported cases, there's antivirus
software running (which one might imagine could cause an open() call to
be delayed). However, one of the (off-list) reports I've gotten
indicated that it happened on an otherwise clean install of Big Sur.

Since the symptom is so bad (checkout randomly fails to write several
fails when the progress meter kicks in), and since the workaround is so
lightweight (if we don't see EINTR, it's just an extra conditional
check), let's just turn it on by default.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.mak.uname