From: Junio C Hamano Date: Tue, 03 Jul 2012 17:16:46 GMT Subject: Re: bug: "fatal: cannot pread pack file", version 1.7.5.4 Message-ID: <7vobnwwyrl.fsf@alter.siamese.dyndns.org> In-Reply-To: <20120703051426.GA12965@sigill.intra.peff.net> Jeff King writes: > Hmm. According to gettext(3): > > ERRORS > errno is not modified. > > And googling for "gettext" and "errno" reveals several bugfixes in GNU > gettext to make sure that gettext preserves errno. I wonder if there are > systems where that is not the case, though; I don't know what non-GNU > gettext implementations are in common use these days. I'd still be > curious to hear what platform the server is for this bug report. Yes, I am also curious. Regardless, we may need your "save_errno" patch if the bulk of it may have to be made conditional on NEED_SAVE_ERRNO_IN_GETTEXT=YesPlease or something. Thanks for digging.