Ignoring null packages list

This commit is contained in:
Ned Wright 2023-06-20 09:31:14 +00:00
parent a270456278
commit 5192380549

View File

@ -477,6 +477,13 @@ ManifestController::Impl::isIgnoreFile(const string &new_manifest_file) const
manifest.get(ch); manifest.get(ch);
} }
if (!manifest.good() || ch != ':') return false;
manifest.get(ch);
while (manifest.good() && isspace(ch)) {
manifest.get(ch);
}
if (!manifest.good() || ch != 'n') return false; if (!manifest.good() || ch != 'n') return false;
manifest.get(ch); manifest.get(ch);
if (!manifest.good() || ch != 'u') return false; if (!manifest.good() || ch != 'u') return false;