summaryrefslogtreecommitdiffstats
path: root/pactest/tests
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2008-11-15 10:10:56 +0100
committerDan McGee <dan@archlinux.org>2009-01-13 05:40:15 +0100
commit8017b0bb8ec5364f8a3999caffc6b3c3ea991810 (patch)
treea3218faf2cd68eb82b39d8fb3a8f5325fbcdead2 /pactest/tests
parent4ec846f5ac79497483c90eb52ced30164d9c0c1e (diff)
downloadpacman-8017b0bb8ec5364f8a3999caffc6b3c3ea991810.tar.gz
pacman-8017b0bb8ec5364f8a3999caffc6b3c3ea991810.tar.xz
Remove libdownload support and fix libfetch one.
Aaron said to consider libdownload a dead project so libdownload support was removed to more easily fix libfetch one (otherwise many ifdef needed). There was no direct replacement for ferror to detect an error while downloading. So instead, I added a check at the end to see if the file was fully downloaded, which is just a small chunk of code taken from here: http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/net/libfetch/files/fetch.c?only_with_tag=MAIN Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/tests')
0 files changed, 0 insertions, 0 deletions