public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* [setup - the official Cygwin setup program used to install Cygwin and keep it up to date] branch master, updated. release_2.873-19-gab9c4c1
@ 2016-04-18 18:26 gratz
  0 siblings, 0 replies; only message in thread
From: gratz @ 2016-04-18 18:26 UTC (permalink / raw)
  To: cygwin-apps-cvs




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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-18 18:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-18 18:26 [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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).