Optimize LinkageMap to use tuples of device and inode numbers from stat
authorZac Medico <zmedico@gentoo.org>
Fri, 22 Aug 2008 06:21:26 +0000 (06:21 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 22 Aug 2008 06:21:26 +0000 (06:21 -0000)
commit35c837dac4af646ca36c2f08a9586a07605a8e46
tree059399d47f6d053c7629bad53652c3368e292c7b
parent1a0b1bf61f80bc43369fc5dc5268c49711a496c3
Optimize LinkageMap to use tuples of device and inode numbers from stat
calls, instead of paths from realpath, as unique keys for identification
of files. This is the same approach used by dblink.isowner() for cases
in which path comparison fails due to symlinks.

Thanks to Lucian Poston <lucianposton@gmail.com> for submitting this patch
(along with the missing-rebuild package set which I haven't merged yet). These
patches are hosted in the following location:

http://repo.or.cz/w/revdep-rebuild-reimplementation.git?a=tree;h=refs/heads/rc3;hb=refs/heads/rc3

svn path=/main/trunk/; revision=11447
pym/portage/dbapi/vartree.py