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

Bug#215786: apt: build-depends parser can't handle lack of whitespace preceeding architecture restrictions



On Wed, Oct 15, 2003 at 12:41:11PM +1000, Martin Michlmayr wrote:

> * James Troup <james@nocrew.org> [2003-10-14 18:57]:
> > | >>> apt_pkg.ParseSrcDepends('foo[i386]');
> > | [[('foo[i386]', '', '')]]
>           ^^^^^^^
> > | >>> apt_pkg.ParseSrcDepends('foo [i386 alpha]');
> > | [[('foo', '', '')]]
>           ^^^
> This looks wrong too, no?

Yes, in the first case it's bogus but parses successfully because the
foo[i386] becomes one token (hmm...brackets shouldn't be valid in the
package name...).

-- 
 - mdz



Reply to: