git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] t0008: avoid SIGPIPE race condition on fifo

From
Jeff King <peff@peff.net>
Date
Jul 12, 2013, 20:42 UTC
Message-ID
<20130712204228.GB5276@sigill.intra.peff.net>
In-Reply-To
<7vbo67oig5.fsf@alter.siamese.dyndns.org>
On Fri, Jul 12, 2013 at 09:23:54AM -0700, Junio C Hamano wrote:
Show 9 quoted lines
> > In that case, check-ignore gets a SIGPIPE and dies. The
> > outer shell then tries to open the output fifo but blocks
> > indefinitely, because there is no writer.  We can fix it by
> > keeping a descriptor open through the whole procedure.
> 
> Ahh, figures.
> 
> I wish I were smart enough to figure that out immediately after
> seeing the test that does funny things to "in" with "9".

I wish I were smart enough to have figured it out when I was writing the funny stuff with "in" and "9" in the first place. :)

-Peff
Previous: Junio C HamanoNext: Brian Gernhardt
Message 8 of 10 in “t0008 hang on streaming test (OS X)”
  1. Brian GernhardtJul 10, 2013
  2. Antoine PelisseJul 10, 2013
  3. Brian GernhardtJul 11, 2013
  4. Jeff KingJul 11, 2013
  5. Junio C HamanoJul 11, 2013
  6. t0008: avoid SIGPIPE race condition on fifoJeff King, Jul 12, 2013
  7. Junio C HamanoJul 12, 2013
  8. Jeff KingJul 12, 2013
  9. Brian GernhardtJul 12, 2013
  10. Brian GernhardtJul 11, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.