Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
sha1_file: use the correct type (ssize_t, not size_t) for read-style function
author
Jim Meyering
<jim@meyering.net>
Thu, 26 May 2011 14:34:20 +0000
(16:34 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 26 May 2011 18:25:59 +0000
(11:25 -0700)
Using an unsigned type, we would fail to detect a read error and then
proceed to try to write (size_t)-1 bytes.
Signed-off-by: Jim Meyering <meyering@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
raw
|
patch
| inline |
side by side
(from:
23c7df6
)
No differences found