Re: [PATCH] Make xmalloc and xrealloc thread-safe

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Junio C Hamano
Date: Wednesday, March 24, 2010 - 2:28 pm

"Shawn O. Pearce" <spearce@spearce.org> writes:


A tangent.

I thought that it incidentally might be a good example for the "line-mode"
log that has been discussed recently to follow the history of this code,
but this turns out to be too easy:

$ git blame -C -L'/^void \*xmmap/,/^}/' wrapper.c

directly gives you the answer.  d1efefa4 explains why this passes fd
rather well.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/2] Make xmalloc and xrealloc thread-safe, Fredrik Kuivinen, (Tue Mar 23, 10:31 am)
Re: [PATCH 1/2] Make xmalloc and xrealloc thread-safe, Shawn O. Pearce, (Tue Mar 23, 11:43 am)
Re: [PATCH 1/2] Make xmalloc and xrealloc thread-safe, Fredrik Kuivinen, (Tue Mar 23, 2:21 pm)
Re: [PATCH 1/2] Make xmalloc and xrealloc thread-safe, Nicolas Pitre, (Tue Mar 23, 4:50 pm)
Re: [PATCH 1/2] Make xmalloc and xrealloc thread-safe, Fredrik Kuivinen, (Wed Mar 24, 8:23 am)
Re: [PATCH 1/2] Make xmalloc and xrealloc thread-safe, Nicolas Pitre, (Wed Mar 24, 10:53 am)
Re: [PATCH 1/2] Make xmalloc and xrealloc thread-safe, Shawn Pearce, (Wed Mar 24, 11:22 am)
Re: [PATCH 1/2] Make xmalloc and xrealloc thread-safe, Junio C Hamano, (Wed Mar 24, 11:44 am)
Re: [PATCH 1/2] Make xmalloc and xrealloc thread-safe, Nicolas Pitre, (Wed Mar 24, 11:54 am)
Re: [PATCH 1/2] Make xmalloc and xrealloc thread-safe, Shawn Pearce, (Wed Mar 24, 12:57 pm)
[PATCH] Make xmalloc and xrealloc thread-safe, Nicolas Pitre, (Wed Mar 24, 1:22 pm)
Re: [PATCH] Make xmalloc and xrealloc thread-safe, Shawn O. Pearce, (Wed Mar 24, 1:28 pm)
Re: [PATCH] Make xmalloc and xrealloc thread-safe, Nicolas Pitre, (Wed Mar 24, 2:02 pm)
Re: [PATCH] Make xmalloc and xrealloc thread-safe, Junio C Hamano, (Wed Mar 24, 2:11 pm)
Re: [PATCH] Make xmalloc and xrealloc thread-safe, Junio C Hamano, (Wed Mar 24, 2:28 pm)
Re: [PATCH] Make xmalloc and xrealloc thread-safe, Fredrik Kuivinen, (Sat Mar 27, 6:26 am)
Re: [PATCH] Make xmalloc and xrealloc thread-safe, Nicolas Pitre, (Sat Mar 27, 11:59 am)
Re: [PATCH] Make xmalloc and xrealloc thread-safe, Fredrik Kuivinen, (Tue Mar 30, 11:57 pm)
[PATCH v2] Make xmalloc and xrealloc thread-safe, Nicolas Pitre, (Tue Apr 6, 7:57 pm)
Re: [PATCH v2] Make xmalloc and xrealloc thread-safe, Shawn O. Pearce, (Tue Apr 6, 8:16 pm)
Re: [PATCH v2] Make xmalloc and xrealloc thread-safe, Nicolas Pitre, (Tue Apr 6, 9:51 pm)
Re: [PATCH v2] Make xmalloc and xrealloc thread-safe, Junio C Hamano, (Tue Apr 6, 10:21 pm)
Re: [PATCH v2] Make xmalloc and xrealloc thread-safe, Shawn Pearce, (Wed Apr 7, 5:29 am)
Re: [PATCH v2] Make xmalloc and xrealloc thread-safe, Nicolas Pitre, (Wed Apr 7, 6:17 am)
Re: [PATCH v2] Make xmalloc and xrealloc thread-safe, Shawn Pearce, (Wed Apr 7, 7:30 am)
Re: [PATCH v2] Make xmalloc and xrealloc thread-safe, Fredrik Kuivinen, (Wed Apr 7, 7:45 am)
Re: [PATCH v2] Make xmalloc and xrealloc thread-safe, Nicolas Pitre, (Wed Apr 7, 7:47 am)
Re: [PATCH v2] Make xmalloc and xrealloc thread-safe, Nicolas Pitre, (Wed Apr 7, 8:08 am)
Re: [PATCH v2] Make xmalloc and xrealloc thread-safe, Sverre Rabbelier, (Wed Apr 7, 8:27 am)
Re: [PATCH v2] Make xmalloc and xrealloc thread-safe, Fredrik Kuivinen, (Wed Apr 7, 9:13 am)
Re: [PATCH v2] Make xmalloc and xrealloc thread-safe, Fredrik Kuivinen, (Wed Apr 7, 9:15 am)
Re: [PATCH v2] Make xmalloc and xrealloc thread-safe, Junio C Hamano, (Wed Apr 7, 9:17 am)
Re: [PATCH v2] Make xmalloc and xrealloc thread-safe, Erik Faye-Lund, (Wed Apr 7, 9:44 am)
Re: [PATCH v2] Make xmalloc and xrealloc thread-safe, Nicolas Pitre, (Wed Apr 7, 11:37 am)
Re: [PATCH v2] Make xmalloc and xrealloc thread-safe, Johannes Sixt, (Wed Apr 7, 11:49 am)