commit | 4494c656e2e29c468c48c9c2b20595342056e9dc | [log] [tgz] |
---|---|---|
author | Linus Torvalds <torvalds@osdl.org> | Thu Jan 11 20:37:38 2007 -0800 |
committer | Junio C Hamano <junkio@cox.net> | Thu Jan 11 21:05:34 2007 -0800 |
tree | 21dc0c3eb8efd6f15b5a797d15da2fe3fd1b44c4 | |
parent | d34cf19b8987ae0f0806e257edf877238d044747 [diff] |
Fix up totally buggered read_or_die() The "read_or_die()" function would silently NOT die for a partial read, and since it was of type "void" it obviously couldn't even return the partial number of bytes read. IOW, it was totally broken. This hopefully fixes it up. Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Junio C Hamano <junkio@cox.net>