[pacman-dev] [GIT] The official pacman repository branch, maint, updated. v3.1.3-15-g3fe43ff

Dan McGee dan at archlinux.org
Sat Mar 29 11:45:20 EDT 2008


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The official pacman repository".

The branch, maint has been updated
       via  3fe43ffa04efd9937205938ef74d9dbba1a7aa42 (commit)
       via  562442633a9dd8026d914d785f15de2d0a95fdef (commit)
      from  1086950c82ab649ffc36a00cd8d343da376252fe (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3fe43ffa04efd9937205938ef74d9dbba1a7aa42
Author: Chantry Xavier <shiningxc at gmail.com>
Date:   Fri Mar 28 23:58:33 2008 +0100

    Duplicate the result of archive_entry_pathname.
    
    After the libarchive upgrade from 2.4.12 to 2.4.14, our usage of
    archive_entry_pathname became dangerous. We were using the result of that
    function even after calls to archive_entry_set_pathname.
    With 2.4.14, the entryname becomes wrong after these calls, and so all the
    future use of entryname are bogus. entryname is used quite a lot for
    logging, so that's not so bad. But it's also used for the backup handling,
    so that's not very cool. For example, reinstalling a package with backup
    entries will erase all the md5 entries from the DB, because they won't be
    found back.
    
    entryname is now a static string so that we can easily keep the result of
    archive_entry_pathname.
    
    Signed-off-by: Chantry Xavier <shiningxc at gmail.com>
    [Dan: fixed version numbers in commit message]
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 562442633a9dd8026d914d785f15de2d0a95fdef
Author: Nagy Gabor <ngaba at bibl.u-szeged.hu>
Date:   Fri Mar 28 17:08:48 2008 +0100

    Use pkgcache instead of db_scan in remove.c
    
    This should be a notable speed-up (apart from kernel cache).
    
    Signed-off-by: Nagy Gabor <ngaba at bibl.u-szeged.hu>
    Signed-off-by: Dan McGee <dan at archlinux.org>

-----------------------------------------------------------------------

Summary of changes:
 lib/libalpm/add.c    |    4 ++--
 lib/libalpm/remove.c |    8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)


hooks/post-receive
--
The official pacman repository




More information about the pacman-dev mailing list