Code

write_in_full: size_t is unsigned.
authorJunio C Hamano <junkio@cox.net>
Sat, 27 Jan 2007 01:39:03 +0000 (17:39 -0800)
committerJunio C Hamano <junkio@cox.net>
Sat, 27 Jan 2007 01:39:03 +0000 (17:39 -0800)
commitd848804a895254583095b5c23ebb5d5f5a8891a3
tree7ee4725661a1d64630ba6af7079b5217949d30c8
parent8a56da29628997289aa8ec888ba85889962393e4
write_in_full: size_t is unsigned.

It received the return value from xwrite() in a size_t variable
'written' and expected comparison with 0 would catch an error
from xwrite().

Signed-off-by: Junio C Hamano <junkio@cox.net>
write_or_die.c