commit | 6651c3f706cc47d8055ab43f9f7907202d10655d | [log] [tgz] |
---|---|---|
author | Roel Kluin <roel.kluin@gmail.com> | Mon Jun 22 18:42:33 2009 +0200 |
committer | Junio C Hamano <gitster@pobox.com> | Tue Jun 23 16:57:15 2009 -0700 |
tree | 88eabb5c4a3431fa8f3489565ace175167232217 | |
parent | 1ab012cf811abba5745fa0da70db963decd65f21 [diff] |
fread does not return negative on error size_t res cannot be less than 0. fread returns 0 on error. Reported-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>