From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16089 invoked by alias); 8 Nov 2014 21:41:24 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 16078 invoked by uid 89); 8 Nov 2014 21:41:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: Yes, score=5.4 required=5.0 tests=BAYES_00,BODY_8BITS,FREEMAIL_FROM,GARBLED_BODY,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-la0-f44.google.com Received: from mail-la0-f44.google.com (HELO mail-la0-f44.google.com) (209.85.215.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sat, 08 Nov 2014 21:41:22 +0000 Received: by mail-la0-f44.google.com with SMTP id gf13so6026150lab.31 for ; Sat, 08 Nov 2014 13:41:19 -0800 (PST) X-Received: by 10.152.5.201 with SMTP id u9mr19959852lau.24.1415482878832; Sat, 08 Nov 2014 13:41:18 -0800 (PST) Received: from [192.168.1.247] ([94.188.22.118]) by mx.google.com with ESMTPSA id h2sm4154945laa.17.2014.11.08.13.41.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 08 Nov 2014 13:41:18 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Subject: Re: [ANNOUNCEMENT] Updated: sqlite3-3.8.7.1-1 for Cygwin/Cygwin64 From: Alexpux In-Reply-To: Date: Sat, 08 Nov 2014 21:41:00 -0000 Content-Transfer-Encoding: quoted-printable Message-Id: <133E1FBB-4DFA-49E0-B8F8-7B0DAD167FCC@gmail.com> References: To: cygwin@cygwin.com X-IsSubscribed: yes X-SW-Source: 2014-11/txt/msg00153.txt.bz2 > 4 =D0=BD=D0=BE=D1=8F=D0=B1. 2014 =D0=B3., =D0=B2 15:26, Jan Nijtmans =D0= =BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB(=D0=B0): >=20 > SQLite is a software library that implements a self-contained, > serverless, zero-configuration, transactional SQL database engine >=20 > Changes since 3.8.6-1 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > * Updated to upstream 3.8.7.1 release. See: > > Main new feature: "pragma threads=3D?" (default=3D0, max =3D 8). This > enables SQLite to use multiple processor cores at the same > time for sorting operations. See: > > * Additional SQLite (minor) bug-fixes, cherry-picked from SQLite trunk: > * Add special handling for static mutexes in sqlite3_mutex_alloc() > when automatic calls to sqlite3_initialize() are enabled > > * Fix the %c format character in sqlite3VXPrintf() so that it correctly > handles precisions larger than 70 > > * Fix a (probably harmless) bug in the CSV output mode of > the command-line shell > > * Change the command-line shell man-page to use the ".tr" > troff directive instead of ".cc" for escaping the initial "." > characters in the ".help" output > > * Additional SQLite bug-fixes, rejected (apparently) upstream > but important (and simple) enough for Cygwin: > * VFS filename truncation issues > > * Wrong filename handling in sqlite3_load_extension() for Cygwin > > * pragma database_list returns win32 paths on Cygwin > > * ISO time leap second > > * update to Unicode 7.0 for FTS3 tokenizer >=20 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: diff -Naur sqlite-autoconf-3080701-orig/sqlite3.c sqlite-autoconf-3080701/s= qlite3.c --- sqlite-autoconf-3080701-orig/sqlite3.c 2014-11-08 20:34:01.593800000 +0= 300 +++ sqlite-autoconf-3080701/sqlite3.c 2014-11-08 20:37:42.146600000 +0300 @@ -33758,14 +33758,14 @@ { "GetModuleHandleW", (SYSCALL)0, 0 }, #endif =20 -#define osGetModuleHandleW ((HMODULE(*)(LPCWSTR))aSyscall[76].pCurrent) +#define osGetModuleHandleW ((HMODULE(WINAPI*)(LPCWSTR))aSyscall[76].pCurre= nt) =20 #if defined(SQLITE_WIN32_HAS_WIDE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) { "SetDllDirectoryW", (SYSCALL)SetDllDirectoryW, 0 }, #else { "SetDllDirectoryW", (SYSCALL)0, 0 }, #endif =20 -#define osSetDllDirectoryW ((BOOL(*)(LPCWSTR))aSyscall[77].pCurrent) +#define osSetDllDirectoryW ((BOOL(WINAPI*)(LPCWSTR))aSyscall[77].pCurrent) =20 #if defined(__CYGWIN__) { "getenv", (SYSCALL)getenv, 0 }, Regards, Alexey. > -- > Jan Nijtmans >=20 > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >=20 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple