summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/package.h
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2009-09-29 19:19:54 +0200
committerDan McGee <dan@archlinux.org>2009-09-30 03:52:56 +0200
commit20392c0a025d01128eb78c6656db7c15b3fbcd89 (patch)
tree69c5a125d64409e55fea23508fe3e5e7203951c6 /lib/libalpm/package.h
parent7f14f185a2d05650e1f99f4ec40d60b597e8b0c7 (diff)
downloadpacman-20392c0a025d01128eb78c6656db7c15b3fbcd89.tar.gz
pacman-20392c0a025d01128eb78c6656db7c15b3fbcd89.tar.xz
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.h')
0 files changed, 0 insertions, 0 deletions