Re: [regression] Newer gits cannot clone any remote repos
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Nov 15, 2012, 12:51 UTC
- Message-ID
- <CACsJy8Atj0WsFaYTZE9y9+tu1+L2LumVOk3sUj-t9iKbiqsBZw@mail.gmail.com>
- In-Reply-To
- <CACYvZ7jMC5xw4LxiuG5m+=grpQEg+wZb_7BaU4Xn-r7ix=S-bw@mail.gmail.com>
On Wed, Nov 14, 2012 at 2:55 AM, Douglas Mencken <dougmencken@gmail.com> wrote:
Show 17 quoted lines
>> Could you try re-building git with the >> NO_THREAD_SAFE_PREAD build variable set? > > Yeah! It works!!! > > --- evil/Makefile > +++ good/Makefile > @@ -957,6 +957,7 @@ > HAVE_PATHS_H = YesPlease > LIBC_CONTAINS_LIBINTL = YesPlease > HAVE_DEV_TTY = YesPlease > + NO_THREAD_SAFE_PREAD = YesPlease > endif > ifeq ($(uname_S),GNU/kFreeBSD) > NO_STRLCPY = YesPlease > > With this, I do have correctly working git clone.
Sorry you had to figure that out the hard way. Could you make it a proper patch? I'm surprised that Linux pread does not behave the same way across platforms though. Or maybe it only happens with certain Linux versions. What version are you using?
-- Duy