This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: setup
- From: Achim Gratz <Stromeko at nexgo dot de>
- To: cygwin-apps at cygwin dot com
- Date: Wed, 05 Aug 2015 17:41:49 +0200
- Subject: Re: setup
- Authentication-results: sourceware.org; auth=none
- References: <87r3nsw0nb dot fsf at Rainer dot invalid> <20150729125127 dot GA8328 at calimero dot vinschen dot de> <87y4hv0zwv dot fsf at Rainer dot invalid> <87vbcwfdvw dot fsf at Rainer dot invalid> <87r3nkfaxn dot fsf at Rainer dot invalid> <87mvy8f8dz dot fsf at Rainer dot invalid> <20150803202908 dot GI17917 at calimero dot vinschen dot de> <87a8u8f4s5 dot fsf at Rainer dot invalid> <871tfidhrm dot fsf at Rainer dot invalid> <20150805080833 dot GT17917 at calimero dot vinschen dot de>
Corinna Vinschen writes:
> Same here. Am I missing something?
Nothing, but I missed to copy the negation from the corresponding code
for MD5 even though the description of the patch explicitly makes note
of the correct logic. It's fixed already in my repo since I finally
updated all of Cygwin at work today.
--8<---------------cut here---------------start------------->8---
Modified IniDBBuilderPackage.cc
diff --git a/IniDBBuilderPackage.cc b/IniDBBuilderPackage.cc
index b41955a..ff92ec2 100644
--- a/IniDBBuilderPackage.cc
+++ b/IniDBBuilderPackage.cc
@@ -268,7 +268,7 @@ IniDBBuilderPackage::buildInstallSize (const std::string &size)
void
IniDBBuilderPackage::buildInstallSHA512 (unsigned char const *sha512)
{
- if (sha512 && cbpv.source()->sha512_isSet) {
+ if (sha512 && !cbpv.source()->sha512_isSet) {
memcpy (cbpv.source()->sha512sum, sha512, sizeof cbpv.source()->sha512sum);
cbpv.source()->sha512_isSet = true;
}
@@ -277,7 +277,7 @@ IniDBBuilderPackage::buildInstallSHA512 (unsigned char const *sha512)
void
IniDBBuilderPackage::buildSourceSHA512 (unsigned char const *sha512)
{
- if (sha512 && cbpv.source()->sha512_isSet) {
+ if (sha512 && !cbpv.source()->sha512_isSet) {
memcpy (cspv.source()->sha512sum, sha512, sizeof cspv.source()->sha512sum);
cbpv.source()->sha512_isSet = true;
}
--8<---------------cut here---------------end--------------->8---
OK for push?
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Factory and User Sound Singles for Waldorf rackAttack:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds