Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: [BUG] git cat-file does not terminate

From: Robert Wruck <hidden>
Date: 2016-06-15 22:50:42

By the way, does the same version of Cygwin have similar issue on the read
side?
Here some quick results:

read(fd, buffer, 90000000)
Returns total file size for a file and 65536 (errno=0) for pipes (cat 
file | readtest). When repeating the read, the whole file is read until 
read() returns 0. No problem here on any cygwin I tested.

write(fd, buffer, 90000000)
Returns 90000000 for a file.
Returns 90000000 for redirection (writetest > outfile)
Returns 90000000 for pipes (writetest | cat > outfile) on sane cygwins 
and -1 / EAGAIN on the machine with the original problem.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help