This is the mail archive of the cygwin-apps-cvs mailing list for the cygwin-apps project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[setup - the official Cygwin setup program used to install Cygwin and keep it up to date] branch master, updated. release_2.873-19-gab9c4c1




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;
   }
 }
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]