Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aHA1q-00005v-A9 for pgadmin-hackers@arkaria.postgresql.org; Thu, 07 Jan 2016 12:50:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aHA1p-0000uh-SP for pgadmin-hackers@arkaria.postgresql.org; Thu, 07 Jan 2016 12:50:57 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aHA1c-0000fs-IW for pgadmin-hackers@postgresql.org; Thu, 07 Jan 2016 12:50:44 +0000 Received: from forward20m.cmail.yandex.net ([5.255.216.151]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aHA1a-0001K2-Ej for pgadmin-hackers@postgresql.org; Thu, 07 Jan 2016 12:50:43 +0000 Received: from smtp2m.mail.yandex.net (smtp2m.mail.yandex.net [77.88.61.129]) by forward20m.cmail.yandex.net (Yandex) with ESMTP id 62CA820E2E for ; Thu, 7 Jan 2016 15:50:31 +0300 (MSK) Received: from smtp2m.mail.yandex.net (localhost [127.0.0.1]) by smtp2m.mail.yandex.net (Yandex) with ESMTP id 24FE7426B24 for ; Thu, 7 Jan 2016 15:50:31 +0300 (MSK) Received: by smtp2m.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id FylFRUC0SY-oUHCG6Ig; Thu, 7 Jan 2016 15:50:30 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1452171030; bh=ByyDnzC7w/YF4cVIZn37SzTeYUN59hJbCC5kyWMIf3k=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: Content-Type; b=s5s3pNDH3+BO6JSJLF/j1Ndn3yVL2pbUBmyLw9Z+u6OIZSS/lUsAenF4B1D34slyR s1U9mc8Oe7edRyUcOwMVzWl7O4QB/G8FxXbWBqTSg4As5jhGOnXFiZmZCl+7Bi8dP7 PGLdkJb9Qc7MSP+3KKMl7b8uGw70HGhHuax70cpw= Authentication-Results: smtp2m.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-ForeignMX: US Message-ID: <568E5ECD.5010500@yandex.ru> Date: Thu, 07 Jan 2016 15:49:17 +0300 From: Nikolai Zhubr User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: pgadmin-hackers Subject: [Patch] Fix libssh2 build error on vs2010 Content-Type: multipart/mixed; boundary="------------010505090502050908040006" X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org This is a multi-part message in MIME format. --------------010505090502050908040006 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Hello all, Please consider the attached trivial patch to fix build errors with VS2010. Supposedly it would not hurt anyway. Thank you, Nikolai --------------010505090502050908040006 Content-Type: text/plain; name="fix_vs2010.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="fix_vs2010.diff" --- pgadmin/libssh2/hostkey.c.orig 2016-01-04 16:05:37.000000000 +0300 +++ pgadmin/libssh2/hostkey.c 2016-01-07 15:34:02.646575436 +0300 @@ -277,8 +277,8 @@ libssh2_dsa_ctx *dsactx; const unsigned char *p, *q, *g, *y, *s; unsigned long p_len, q_len, g_len, y_len, len; + int ret; (void) hostkey_data_len; - int ret; if (*abstract) { hostkey_method_ssh_dss_dtor(session, abstract); --------------010505090502050908040006 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers --------------010505090502050908040006--