Thread (13 messages) flat view 13 messages, 4 authors, 2016-06-15

RE: Porting git to HP NonStop

From: Joachim Schmitz <hidden>
Date: 2016-06-15 22:54:33

Possibly related (same subject, not in this thread)

-----Original Message-----
From: Johannes Sixt [mailto:j6t@kdbg.org]
Sent: Wednesday, August 22, 2012 7:41 PM
To: Brandon Casey
Cc: Joachim Schmitz; Junio C Hamano; Shawn Pearce; git@vger.kernel.org;
rsbecker@nexbridge.com
Subject: Re: Porting git to HP NonStop

Am 22.08.2012 19:00, schrieb Brandon Casey:
quoted
 So I think the body of [compat_mkdir] can become something like:

   if (len && dir[len-1] == '/')
       dir = tmp_dir = xstrndup(dir, len-1);
Don't use x* wrappers in the compat layer, at least not those that allocate
memory: They behave unpredictably due to try_to_free_routine and may lead
to recursive invocations.
I was just following orders ;-)
What about the other proposal, xmemdupz? Same story I guess?

Bye, Jojo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help