Re: [PATCH v0 3/3] Bigfile: teach "git add" to send a large file straight to a pack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ãvar ArnfjÃrà Bjarmason <avarab@xxxxxxxxx> writes:

> On Sun, May 8, 2011 at 10:47, Junio C Hamano <gitster@xxxxxxxxx> 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.

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]