To prevent infinite recursion when a lock file has more than 1 hardlink, test for...
authorZac Medico <zmedico@gentoo.org>
Wed, 21 Jun 2006 02:42:00 +0000 (02:42 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 21 Jun 2006 02:42:00 +0000 (02:42 -0000)
commit8530a4e267a7bf61e669888bca3f07b576b81270
treed695a13d7ba56ce0ffb0c2bbe3201e061c196c5a
parent59353b3dee6cde749244f6596a36032e50639c88
To prevent infinite recursion when a lock file has more than 1 hardlink, test for exactly 0 hardlinks before recursing. Also use wantnewlockfile=1 on /var/lib/portage/config (see bug #137269).  This patch is from svn r3540 and r3543.

svn path=/main/branches/2.1/; revision=3568
pym/portage.py
pym/portage_locks.py