[pacman-dev] [PATCH] testpkg rework

Xavier shiningxc at gmail.com
Sat Mar 1 06:15:12 EST 2008


On Sat, Mar 01, 2008 at 11:18:18AM +0100, Nagy Gabor wrote:
> Hi!
> Patch attached.
> Bye
> 

> * first stat the file (alpm_pkg_load never reports PM_ERR_PKG_NOT_FOUND)

Doesn't it report PM_ERR_PKG_OPEN ?

1029   if (archive_read_open_filename(archive, pkgfile,
1030         ARCHIVE_DEFAULT_BYTES_PER_BLOCK) != ARCHIVE_OK) {
1031     RET_ERR(PM_ERR_PKG_OPEN, NULL);
1032   }





More information about the pacman-dev mailing list