Thread (3 messages) flat view 3 messages, 2 authors, 2017-05-29

Re: [PATCH v4 4/4] convert: add "status=delayed" to filter process protocol

From: Junio C Hamano <hidden>
Date: 2017-05-23 05:22:19

Lars Schneider [off-list ref] writes:
quoted
quoted
+	sigchain_pop(SIGPIPE);
+
+	if (err || errno == EPIPE) {
This looks strange, at first glance.
Do we set errno to 0 before ?
Or is there a trick that EPIPE can only be reached,
if it is "our" error ?
You are right and I'll fix it! 
Thanks for reminding me! 
Peff also noticed that some time ago:
http://public-inbox.org/git/20170411200520.oivytvlzkdu7bfh5@sigill.intra.peff.net/
Ben Peart's bp/sub-process-convert-filter topic also had the same
EPIPE issues in its earlier incarnation, IIRC.  I haven't looked at
this topic for some time, but I wonder if we can share code with it.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help