1 Mar
2008
1 Mar
'08
1:14 p.m.
* 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 }
Hmm. I thought that this cannot be used to indicate "not found" but as I see, we get libarchive error if the archive is not valid... So I attached my reworked patch (pm_errnos from pkg_load are still a bit chaotic). Bye ---------------------------------------------------- SZTE Egyetemi Könyvtár - http://www.bibl.u-szeged.hu This mail sent through IMP: http://horde.org/imp/