From: Junio C Hamano Date: Sun, 29 May 2011 20:29:41 GMT Subject: Re: [PATCH v0 3/3] Bigfile: teach "git add" to send a large file straight to a pack Message-ID: <7v62otp7wq.fsf@alter.siamese.dyndns.org> In-Reply-To: Ævar Arnfjörð Bjarmason writes: > On Sun, May 8, 2011 at 10:47, Junio C Hamano wrote: > >> +               char buf[10240]; >> +               size_t sz = size < sizeof(buf) ? size : sizeof(buf); >> +               size_t actual; >> + >> +               actual = read_in_full(fd, buf, sz); >> +               if (actual < 0) >> +                       die_errno("index-stream: reading input"); It already has been fixed with 23c7df6 (sha1_file: use the correct type (ssize_t, not size_t) for read-style function, 2011-05-26). Scanning the list and updating your copy of 'pu' from k.org would often save your time for topics that are relatively new. Thanks.