Re: [PATCH] stream_to_pack: xread does not guarantee to read all requested bytes
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Aug 20, 2013, 18:23 UTC
- Message-ID
- <5213B41B.1080106@kdbg.org>
- In-Reply-To
- <xmqqsiy476h4.fsf@gitster.dls.corp.google.com>
Am 20.08.2013 17:00, schrieb Junio C Hamano:
> I wonder if there are more like this broken caller or xread and/or > xwrite.
Looking at the grep -C1 output, there are no others.
The only one that looked suspicious was xread in remote-curl.c, but it is fine (it just eats all data from the input).
-- Hannes