From: Robert Wruck Date: Fri, 04 Mar 2011 18:26:01 GMT Subject: Re: [BUG] git cat-file does not terminate Message-ID: <4D712EB9.3080802@tweerlei.de> In-Reply-To: <7vzkpa7qmp.fsf@alter.siamese.dyndns.org> > 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.