Thread (18 messages) flat view 18 messages, 5 authors, 2016-06-15

Re: [PATCH] quickfetch(): Prevent overflow of the rev-list command line

From: Alex Riesen <hidden>
Date: 2016-06-15 22:47:02

Possibly related (same subject, not in this thread)

On Thu, Jul 9, 2009 at 10:43, Johan Herland[off-list ref] wrote:
On Wednesday 08 July 2009, Junio C Hamano wrote:
quoted
Johan Herland [off-list ref] writes:
quoted
Maybe I need to do something to the close() call as well? What happens
on close() after EPIPE?
Does anybody with Windows/MSYS experience know how this scenario (write() to
a terminated process, followed by close()) would play out in msysGit?
It fails with ERROR_BROKEN_PIPE. See MSDN for WriteFile:

 http://msdn.microsoft.com/en-us/library/aa365747%28VS.85%29.aspx

(look for the error above).

Well, sometimes it just fails, so you can hardly use the error code to detect
if the other process is truly gone or something broke in Windows.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help