/ Check-in [ac9af91d]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Change a cat in zipfile.c from (z_const Bytef*) to just (Bytef*). This allows the module to build with older versions of zlib.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:ac9af91d5a2927e71903461e7bbdd2c0168fde9a042853c8bcd4c7ebd0d51e0d
User & Date: dan 2018-01-16 17:33:09
Context
2018-01-16
19:03
Show version of zlib in use when running the shell tool in interactive mode. check-in: a8906b52 user: mistachkin tags: trunk
17:33
Change a cat in zipfile.c from (z_const Bytef*) to just (Bytef*). This allows the module to build with older versions of zlib. check-in: ac9af91d user: dan tags: trunk
13:37
Fix a problem causing an infinite loop or other malfunction in some UPDATE statements with an OR term in the WHERE clause. Ticket [47b2581aa9bfecec] check-in: feb2c2b6 user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/misc/zipfile.c.

   767    767     aOut = (u8*)sqlite3_malloc(nAlloc);
   768    768     if( aOut==0 ){
   769    769       rc = SQLITE_NOMEM;
   770    770     }else{
   771    771       int res;
   772    772       z_stream str;
   773    773       memset(&str, 0, sizeof(str));
   774         -    str.next_in = (z_const Bytef*)aIn;
          774  +    str.next_in = (Bytef*)aIn;
   775    775       str.avail_in = nIn;
   776    776       str.next_out = aOut;
   777    777       str.avail_out = nAlloc;
   778    778   
   779    779       deflateInit2(&str, 9, Z_DEFLATED, -15, 8, Z_DEFAULT_STRATEGY);
   780    780       res = deflate(&str, Z_FINISH);
   781    781