Skip to content
Snippets Groups Projects
  1. Apr 02, 2008
  2. Apr 01, 2008
  3. Mar 30, 2008
  4. Mar 28, 2008
    • Xavier Chantry's avatar
      Duplicate the result of archive_entry_pathname. · 3fe43ffa
      Xavier Chantry authored
      
      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: default avatarChantry Xavier <shiningxc@gmail.com>
      [Dan: fixed version numbers in commit message]
      Signed-off-by: default avatarDan McGee <dan@archlinux.org>
      3fe43ffa
    • Nagy Gabor's avatar
      Use pkgcache instead of db_scan in remove.c · 56244263
      Nagy Gabor authored
      
      This should be a notable speed-up (apart from kernel cache).
      
      Signed-off-by: default avatarNagy Gabor <ngaba@bibl.u-szeged.hu>
      Signed-off-by: default avatarDan McGee <dan@archlinux.org>
      56244263
  5. Mar 23, 2008
  6. Mar 22, 2008
  7. Mar 11, 2008
  8. Mar 09, 2008
  9. Mar 08, 2008
  10. Mar 07, 2008
  11. Mar 05, 2008
  12. Mar 04, 2008
  13. Mar 02, 2008
  14. Mar 01, 2008
  15. Feb 29, 2008
  16. Feb 27, 2008
  17. Feb 26, 2008
  18. Feb 25, 2008
  19. Feb 24, 2008
Loading