X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=bcL8mGorVj4ddxA7UBvN27fMfyXuTdXzk30CmhitEh20e1XS48BYk lAtn6RUy1LNRkL+D9X+Yi/2Bk9BXxJt0UA2vykq3SSZQy1XpgdUckKAEIBLXXeTc ND1Ft7nHP+PdMOB3jIU22nLBhQMA4X3FZlpYhi3s5c0MzZGAYFCnXo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=PpeUY98yIjrfTuEooH3TURntTMs=; b=kXB/IQ6Uif4QcxQYRC8I7wwkWCwH x79MTftw6Ng756Zuu3If10OI3hfVSommfg6lkZNjmaUTI210ZUDksNRn+6y73pav cv/7XaNJHCFFsVi8gHK8DeP2dOz6nMMD8Yps1KgOh2BYW+dnquoM3nK3KkGQsCFq uK7+K1MCIaHsQJ4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Mon, 10 Nov 2014 12:55:09 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] Updated: sqlite3-3.8.7.1-1 for Cygwin/Cygwin64 Message-ID: <20141110115509.GG2782@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <133E1FBB-4DFA-49E0-B8F8-7B0DAD167FCC AT gmail DOT com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bO4vSxwwZtUjUWHo" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) --bO4vSxwwZtUjUWHo Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Nov 10 12:36, Jan Nijtmans wrote: > 2014-11-08 22:41 GMT+01:00 Alexpux: > > Hi! > > We tried to update MSYS2 sqlite3 to the same version and found that on = i686 doesn=E2=80=99t work properly because the wrong calling convention is = used when calling GetModuleHandleW and SetDllDirectoryW. > > Here is the patch to fix this issue: >=20 > Thank you very much! >=20 > sqlite3-3.8.7.1-2 for Cygwin (i686 only) is available now with this fix > (SetDllDirectoryW was used for Cygwin too, so this might have had ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ What for? This should not be necessary. =20=20=20=20 If this is for loading modules via dlopen, the solution should be to either to add the directory to LD_LIBRARY_PATH, or enhance Cygwin if it's an issue with loading dependent DLLs. We can still add=20 LoadLibraryEx(LOAD_WITH_ALTERED_SEARCH_PATH). Ultimately a Cygwin application should not have to call Win32 functions, except if there's really no way around it. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --bO4vSxwwZtUjUWHo Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUYKedAAoJEPU2Bp2uRE+gxTwP/RKvtzqlgkEC5+hwi239H8OZ 3cj1Sk4tOvARyKk4/k+mIrzflo0R0f+czGxajHZsPh9b+m8A7MYZC61TeQTdDDJI suvzlhVHE3m+cR4aJpKaoFk0TjjDDPcpq2WHlziQjEv0GGA0jZnHJ8jnC9utrQtk R2XpqxzfSHRJrSCZAN5S2mN5jwPYZdNgpuC0F3W6U8zOxkJicvL1UR63rkavc0rJ ij9nXu0FQjBijIbstZaSQirH+C9/xKfOnCWTMUqJOm9wJm2UjV1EOIVLkGBNcJrp zWT6fx4HMQ5U5aLAokpclwH901YLDNjqajlstOv6k2g9fO6HjAKY5rqRJCT0/GEc vjJDrJLCdn/W28L2a5orI7o+GdJu30JU3JpdFzd+Ki+jyf09uuu1BMaGLol4fIcv Alafp+9g7f41S4fdBd0aI9p0C1C429r+WD/VG7r+tXhRXftRo6mWul0TttMM3kdc qUkf7dc7F9HxTwz83S0wk4O/2HVgjI2w+LqXDtEpafRUTpbt3AfssTYXRVdxdcXP yd0D4BaVV47fUnF7RqeSqlnsnAiXIGQmo55EEZStkvUPmxnSBmkrsGn/+MwYJyIp p8WlCLLavtby7UupD8n9W5F1c2R6KVUY8QcGQRkOlYvmQZDu7YcB9G9ITGb5lW0A OnZYltgUvtnhYz9kAbVe =6a+T -----END PGP SIGNATURE----- --bO4vSxwwZtUjUWHo--