setup

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Aug 6 10:03:00 GMT 2015


On Aug  5 17:41, Achim Gratz wrote:
> 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?

Yes, thank you.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20150806/1ba91582/attachment.sig>


More information about the Cygwin-apps mailing list