It can happen that the to-be-downloaded file cannot be created in cachedir.
For example, I am an -Sup user, and it is comfortable to set --cachedir to
/mnt/pendrive, which is a FAT filesystem, so files like
capseo-1:0.3-2-i686.pkg.tar.xz cannot be downloaded to there.
Before this patch, pacman
In the download code a successful package-download could reset the previously
set pm_errno to 0, which is unwanted.
Signed-off-by: Nagy Gabor ng...@bibl.u-szeged.hu
---
lib/libalpm/dload.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/lib/libalpm/dload.c
In the download code a successful package-download could reset the previously
set pm_errno to 0, which is unwanted.
Signed-off-by: Nagy Gabor ng...@bibl.u-szeged.hu
This patch needs testing. Btw, I can see more pm_errno = 0 line in the
code, which is not a good practice...
NG
On Wed, Feb 8, 2012 at 10:52 PM, Nagy Gabor ng...@bibl.u-szeged.hu wrote:
It can happen that the to-be-downloaded file cannot be created in cachedir.
For example, I am an -Sup user, and it is comfortable to set --cachedir to
/mnt/pendrive, which is a FAT filesystem, so files like
On Wed, Feb 8, 2012 at 11:06 PM, Nagy Gabor ng...@bibl.u-szeged.hu wrote:
In the download code a successful package-download could reset the previously
set pm_errno to 0, which is unwanted.
Signed-off-by: Nagy Gabor ng...@bibl.u-szeged.hu
This patch needs testing. Btw, I can see more
On Wed, Feb 8, 2012 at 11:06 PM, Nagy Gabor ng...@bibl.u-szeged.hu wrote:
In the download code a successful package-download could reset the
previously
set pm_errno to 0, which is unwanted.
Signed-off-by: Nagy Gabor ng...@bibl.u-szeged.hu
This patch needs testing. Btw, I can see