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

Bug#841874: [regression] this warning was accidentally removed: W: Conflicting distribution: http://archive.example.org suite InRelease (expected suite but got codename)



On Mon, 2016-10-24 at 08:47 +0800, Paul Wise wrote:

> The bug exists because the code was re-organised and  VerifyVendor
> calls metaIndex::GetExpectedDist() to get the expected suite/code
> name but this function just returns an empty string but the check for
> the issue relies on it returning something.

It looks like this commit caused this issue:

commit 5ad0096a4e19e191b59634e8a8817995ec4045ad
Author: David Kalnischkies <david@kalnischkies.de>
Date:   Tue Jun 23 15:16:08 2015 +0200

    merge indexRecords into metaIndex
...
-APT_PURE string indexRecords::GetExpectedDist() const
-{
-   return this->ExpectedDist;
-}
...
+APT_PURE std::string metaIndex::GetExpectedDist() const
+{
+   // TODO: Used to be an explicit value set in the constructor
+   return "";
+}

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: