borgbackup test fail on cygwin (only) - cygwin pipe issues?

Thomas Waldmann tw@waldmann-edv.de
Fri Jan 13 19:08:00 GMT 2017


On 01/13/2017 07:18 PM, Thomas Waldmann wrote:
> It was a bug in our code that was triggered frequently by the small
> cygwin pipe buffer size of only 64kiB.
> 
> borgbackup fix/workaround see there:
> 
> https://github.com/borgbackup/borg/pull/2032
> 
> It (almost?) never happened on other OSes, due to their bigger buffers.

Hmm, the last phrase seems not to be the real reason why it worked
there, but rather that neither Linux nor *BSD ever do partial writes on
blocking pipes.

So, should cygwin also behave that ^^^ way on blocking pipes?


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list