On Fri, May 29, 2015 at 09:53:00AM -0400, Rich Felker wrote: > An attached test program demonstrates the issue. It assumes Linux 64k > pipe buffers so it's not appropriate for inclusion in tests in its > current form, but it gets the job done where it works. It attempts to > send 128k over a pipe via write followed by a series of fwrite retries > that are interrupted by signals that cause EINTR; thanks to the > kernel's pipe buffer semantics, there's basically no timing/race > aspect involved. With current musl, I get only 130560 across the pipe; > with the above line removed, I get all 131072. And here is the missing attachment. :-) Rich