From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 57068 invoked by alias); 18 Apr 2016 18:26:04 -0000 Mailing-List: contact cygwin-apps-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cygwin-apps-cvs-owner@sourceware.org Received: (qmail 57048 invoked by uid 10076); 18 Apr 2016 18:26:04 -0000 Date: Mon, 18 Apr 2016 18:26:00 -0000 Message-ID: <20160418182604.57022.qmail@sourceware.org> From: gratz@sourceware.org To: cygwin-apps-cvs@sourceware.org Subject: [setup - the official Cygwin setup program used to install Cygwin and keep it up to date] branch master, updated. release_2.873-19-gab9c4c1 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 2f53d97ababb61be8f1ae6494552923e377f488c X-Git-Newrev: ab9c4c1abe914300842ff3cacc9e1ad2247df854 X-SW-Source: 2016-q2/txt/msg00007.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=ab9c4c1abe914300842ff3cacc9e1ad2247df854 commit ab9c4c1abe914300842ff3cacc9e1ad2247df854 Author: Achim Gratz Date: Mon Apr 18 20:24:21 2016 +0200 Fix copy&paste bug introduced in e9c1444dee * IniDBBuilderPackage.cc (buildSourceSHA512): The source package is using a different package version object than the binary package, so we must use cspv here. Diff: --- IniDBBuilderPackage.cc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/IniDBBuilderPackage.cc b/IniDBBuilderPackage.cc index b75d0fd..6ecc11f 100644 --- a/IniDBBuilderPackage.cc +++ b/IniDBBuilderPackage.cc @@ -277,9 +277,9 @@ IniDBBuilderPackage::buildInstallSHA512 (unsigned char const *sha512) void IniDBBuilderPackage::buildSourceSHA512 (unsigned char const *sha512) { - if (sha512 && !cbpv.source()->sha512_isSet) { + if (sha512 && !cspv.source()->sha512_isSet) { memcpy (cspv.source()->sha512sum, sha512, sizeof cspv.source()->sha512sum); - cbpv.source()->sha512_isSet = true; + cspv.source()->sha512_isSet = true; } }