diff options
| author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2015-02-17 17:25:57 +0000 |
|---|---|---|
| committer | <> | 2015-03-17 16:26:24 +0000 |
| commit | 780b92ada9afcf1d58085a83a0b9e6bc982203d1 (patch) | |
| tree | 598f8b9fa431b228d29897e798de4ac0c1d3d970 /dist/odbc/sqlite3odbc.patch | |
| parent | 7a2660ba9cc2dc03a69ddfcfd95369395cc87444 (diff) | |
| download | berkeleydb-master.tar.gz | |
Diffstat (limited to 'dist/odbc/sqlite3odbc.patch')
| -rw-r--r-- | dist/odbc/sqlite3odbc.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dist/odbc/sqlite3odbc.patch b/dist/odbc/sqlite3odbc.patch new file mode 100644 index 00000000..65c223c6 --- /dev/null +++ b/dist/odbc/sqlite3odbc.patch @@ -0,0 +1,19 @@ +--- a/sqlite3odbc.c Sun Dec 8 15:19:27 2013 ++++ b/sqlite3odbc.c Fri Mar 28 11:59:54 2014 +@@ -401,6 +401,7 @@ + #define snprintf _snprintf + #define strcasecmp _stricmp + #define strncasecmp _strnicmp ++#define strtoll _strtoi64 + + static HINSTANCE NEAR hModule; /* Saved module handle for resources */ + +@@ -13916,7 +13916,7 @@ + dlen -= 2; + dp += 2; + dlen = dlen / 2; +- s->bincache = bin = xmalloc(dlen); ++ s->bincache = bin = xmalloc(dlen + 1); + if (!bin) { + return nomem(s); + } |
