From: Junio C Hamano Date: Mon, 23 Jun 2008 22:29:13 GMT Subject: Re: [PATCH/RFC] Bugfix for AIX tmpfile creation Message-ID: <7vy74vg4zq.fsf@gitster.siamese.dyndns.org> In-Reply-To: <1214256821-3169-1-git-send-email-patrick.higgins@cexp.com> Hmm, we have quite a few calls to mkstemp(), so adding the workaround to this specific call site does not scale well as a fix, I am afraid. Some callers do not want to use the xmkstemp() (because the function always dies upon failure), so working around this bug in xmkstemp() won't solve it either, unfortunately. We would probably need compat/mkstemp.c that wraps problematic mkstemp() on platforms with broken mkstemp() implementation.