Thread (1 message) 1 message, 1 author, 2016-08-04

Re: [PATCH v4 03/12] pkt-line: add packet_flush_gentle()

From: Junio C Hamano <hidden>
Date: 2016-08-04 16:16:12

Jeff King [off-list ref] writes:
  2. It calls check_pipe(), which will turn EPIPE into death-by-SIGPIPE
     (in case you had for some reason ignored SIGPIPE).
...

Thinking about (2), I'd go so far as to say that the trace actually
should just be using:

  if (write_in_full(...) < 0)
	warning("unable to write trace to ...: %s", strerror(errno));

and we should get rid of write_or_whine_pipe entirely.
I like the simplicity the above suggestion gives us.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help