Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/package.c
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2009-09-29 19:19:54 +0200
committerDan McGee <dan@archlinux.org>2009-09-29 20:52:56 -0500
commit20392c0a025d01128eb78c6656db7c15b3fbcd89 (patch)
tree69c5a125d64409e55fea23508fe3e5e7203951c6 /lib/libalpm/package.c
parent7f14f185a2d05650e1f99f4ec40d60b597e8b0c7 (diff)
dload : fix infinite download (big type mistake)
fetchIO_read returns -1 in case of error, and the return type is ssize_t, not size_t ! So we converted -1 to an unsigned, which led to huge file write. The rest is just changing the error return a bit. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.c')
0 files changed, 0 insertions, 0 deletions