1 Apr
2011
1 Apr
'11
6:38 p.m.
hello i have used swig to create some python bindings for libalpm. with pacman-3.4 it was possible to use alpm_pkg_changelog_open with packages from both the local and sync databases. with pacman-3.5, however, packages from sync databases now produce a segfault (local packages still work fine). here is a sample of some code which is currently segfaulting for me: int test_changelog(pmpkg_t *pkg) { void *fp = NULL; if (pkg != NULL) { if ((fp = alpm_pkg_changelog_open(pkg)) != NULL) { alpm_pkg_changelog_close(pkg, fp); return 1; } } return 0; } am i doing something wrong, or should i post a bug report?