Преглед изворни кода

treat an empty dependency field just like it doesn't exist

Git-Dch: Ignore
David Kalnischkies пре 10 година
родитељ
комит
bc6b2bfa08
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      apt-pkg/deb/deblistparser.cc

+ 1 - 1
apt-pkg/deb/deblistparser.cc

@@ -813,7 +813,7 @@ bool debListParser::ParseDepends(pkgCache::VerIterator &Ver,
 {
    const char *Start;
    const char *Stop;
-   if (Section.Find(Tag,Start,Stop) == false)
+   if (Section.Find(Tag,Start,Stop) == false || Start == Stop)
       return true;
 
    string const pkgArch = Ver.Arch();