Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1625)

Side by Side Diff: third_party/zlib/contrib/minizip/unzip.c

Issue 2690623003: Update zlib to 1.2.11 (Closed)
Patch Set: Drop the inflater change, improve the deflater comment Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/zlib/contrib/minizip/iowin32.c ('k') | third_party/zlib/contrib/minizip/zip.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* unzip.c -- IO for uncompress .zip files using zlib 1 /* unzip.c -- IO for uncompress .zip files using zlib
2 Version 1.1, February 14h, 2010 2 Version 1.1, February 14h, 2010
3 part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html ) 3 part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html )
4 4
5 Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage. com/zLibDll/minizip.html ) 5 Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage. com/zLibDll/minizip.html )
6 6
7 Modifications of Unzip for Zip64 7 Modifications of Unzip for Zip64
8 Copyright (C) 2007-2008 Even Rouault 8 Copyright (C) 2007-2008 Even Rouault
9 9
10 Modifications for Zip64 support on both zip and unzip 10 Modifications for Zip64 support on both zip and unzip
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 } unz64_s; 193 } unz64_s;
194 194
195 195
196 #ifndef NOUNCRYPT 196 #ifndef NOUNCRYPT
197 #include "crypt.h" 197 #include "crypt.h"
198 #endif 198 #endif
199 199
200 /* =========================================================================== 200 /* ===========================================================================
201 Read a byte from a gz_stream; update next_in and avail_in. Return EOF 201 Read a byte from a gz_stream; update next_in and avail_in. Return EOF
202 for end of file. 202 for end of file.
203 IN assertion: the stream s has been sucessfully opened for reading. 203 IN assertion: the stream s has been successfully opened for reading.
204 */ 204 */
205 205
206 206
207 local int unz64local_getByte OF(( 207 local int unz64local_getByte OF((
208 const zlib_filefunc64_32_def* pzlib_filefunc_def, 208 const zlib_filefunc64_32_def* pzlib_filefunc_def,
209 voidpf filestream, 209 voidpf filestream,
210 int *pi)); 210 int *pi));
211 211
212 local int unz64local_getByte(const zlib_filefunc64_32_def* pzlib_filefunc_def, v oidpf filestream, int *pi) 212 local int unz64local_getByte(const zlib_filefunc64_32_def* pzlib_filefunc_def, v oidpf filestream, int *pi)
213 { 213 {
(...skipping 1897 matching lines...) Expand 10 before | Expand all | Expand 10 after
2111 &s->cur_file_info_internal, 2111 &s->cur_file_info_internal,
2112 NULL,0,NULL,0,NULL,0); 2112 NULL,0,NULL,0,NULL,0);
2113 s->current_file_ok = (err == UNZ_OK); 2113 s->current_file_ok = (err == UNZ_OK);
2114 return err; 2114 return err;
2115 } 2115 }
2116 2116
2117 extern int ZEXPORT unzSetOffset (unzFile file, uLong pos) 2117 extern int ZEXPORT unzSetOffset (unzFile file, uLong pos)
2118 { 2118 {
2119 return unzSetOffset64(file,pos); 2119 return unzSetOffset64(file,pos);
2120 } 2120 }
OLDNEW
« no previous file with comments | « third_party/zlib/contrib/minizip/iowin32.c ('k') | third_party/zlib/contrib/minizip/zip.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698