[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: preliminary build-depends support for libapt-pkg



On Sat, 24 Jun 2000, Randolph Chung wrote:

> > Can you please split out the dependency parser routine so that it may be
> > shared by the source and packages parsers?
> 
> well, that's how i did it in the beginning, but build-deps have additional
> info in the dependency field (for architecture specific dependencies) so the
> parser in the debListParser class doesn't quite work. i guess i can always
> pass a flag....

Yes, exactly.
 
> > Return (or at least use) a vector rather than that static thing :>
> 
> well, it follows the style of the pkgSrcRecords::Parser::Binaries method :)

That is done like that mostly because that function is required to locate
package records in a file, it will be called thousands of times.

Jason



Reply to: