]> git.pld-linux.org Git - packages/rpm.git/commit - rpm.spec
- fix the root cause behind infinite loop during ntpd install auto/th/rpm-5.4.10-35.3
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 30 Nov 2012 20:51:07 +0000 (21:51 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 30 Nov 2012 20:51:07 +0000 (21:51 +0100)
commitc4861085c7221808b4c69757cb5c79c7371b5231
tree9ad7d7e49775c04306a5aaf915e71fe828565605
parent3e99d69b77815b880753cf91a0e9df42ebc196f9
- fix the root cause behind infinite loop during ntpd install

On Fri, 30 Nov 2012, Jeffrey Johnson wrote:
[...]
> Yes: the iterator loop index on dependency sets is global.
>
> Which means that if something decrements the iterator index
> lower down, then the high level will continuously repeat.

And this exactly happened in lib/rpmal.c:rpmalAllSatisfiesDepend()
for 'provides' set because ntpd provided 'ntp' twice in different
manespaces.
rpm-preserve-iterator.patch [new file with mode: 0644]
rpm.spec
This page took 0.035211 seconds and 4 git commands to generate.