Guillem Jover <[email protected]> writes: > Hi! > > On Fri, 2014-08-29 at 15:13:35 -0700, Dima Kogan wrote: >> Package: libdpkg-perl >> Version: 1.17.9 >> Severity: normal > >> Here's a patch to add a new function Dpkg::Deps::deps_iterate_flat(). >> This is a utility function to iterate through items in a Depends line. >> This was needed for some new sbuild functionality I needed to add to >> support some cross builds. > > Yeah, makes sense thanks, I've merged locally a slightly modified > version.
Cool. Thank you! > I've removed the visited tracking, because there should be no recursion > in the dependency data structures returned by deps_parse(), and the > rest of Dpkg::Deps would not handle it anyway, or do you have uses where > there is recursion? No, I'm just being safe. If you think loops don't happen, that's fine with me. Thanks for the quick reply. dima -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

