Ævar Arnfjörð Bjarmason [off-list ref] writes:
On Sun, May 8, 2011 at 10:47, Junio C Hamano [off-list ref] wrote:
quoted
+ 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.