[setup - the official Cygwin setup program used to install Cygwin and keep it up to date] branch master, updated. release_2.873-19-gab9c4c1
gratz@sourceware.org
gratz@sourceware.org
Mon Apr 18 18:26:00 GMT 2016
https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=ab9c4c1abe914300842ff3cacc9e1ad2247df854
commit ab9c4c1abe914300842ff3cacc9e1ad2247df854
Author: Achim Gratz <Stromeko@Stromeko.DE>
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;
}
}
More information about the Cygwin-apps-cvs
mailing list