From: Robert Wruck <wruck@tweerlei.de>
To: Junio C Hamano <gitster@pobox.com>
Cc: Jeff King <peff@peff.net>, Peter Baumann <waste.manager@gmx.de>,
git@vger.kernel.org
Subject: Re: [BUG] git cat-file does not terminate
Date: Fri, 04 Mar 2011 19:26:01 +0100 [thread overview]
Message-ID: <4D712EB9.3080802@tweerlei.de> (raw)
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.
next prev parent reply other threads:[~2011-03-04 18:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-04 13:04 [BUG] git cat-file does not terminate Robert Wruck
2011-03-04 15:40 ` Peter Baumann
2011-03-04 16:00 ` Jeff King
2011-03-04 17:16 ` Junio C Hamano
2011-03-04 17:29 ` Robert Wruck
2011-03-04 18:26 ` Robert Wruck [this message]
2011-03-08 21:14 ` Jeff King
2011-03-08 22:52 ` Junio C Hamano
2011-03-09 14:49 ` Robert Wruck
2011-03-09 19:32 ` Junio C Hamano
2011-03-09 19:51 ` Robert Wruck
2011-03-09 21:43 ` Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D712EB9.3080802@tweerlei.de \
--to=wruck@tweerlei.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=peff@peff.net \
--cc=waste.manager@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).