Changeset 740 for vendor/current/lib/zlib/contrib
- Timestamp:
- Nov 14, 2012, 12:59:34 PM (13 years ago)
- Location:
- vendor/current/lib/zlib/contrib
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/lib/zlib/contrib/ada/zlib-streams.ads
r414 r740 32 32 -- Flush the written data to the back stream, 33 33 -- all data placed to the compressor is flushing to the Back stream. 34 -- Should not be used untill necessary, bec ouse it is decreasing34 -- Should not be used untill necessary, because it is decreasing 35 35 -- compression. 36 36 … … 98 98 -- Buffer for Read operation. 99 99 -- We need to have this buffer in the record 100 -- bec ouse not all read data from back stream100 -- because not all read data from back stream 101 101 -- could be processed during the read operation. 102 102 … … 104 104 -- Buffer size for write operation. 105 105 -- We do not need to have this buffer 106 -- in the record bec ouse all data could be106 -- in the record because all data could be 107 107 -- processed in the write operation. 108 108 -
vendor/current/lib/zlib/contrib/ada/zlib-thin.ads
r414 r740 437 437 pragma Import (C, inflateBackInit, "inflateBackInit_"); 438 438 439 -- I stopped binding the inflateBack routines, bec ouse realize that439 -- I stopped binding the inflateBack routines, because realize that 440 440 -- it does not support zlib and gzip headers for now, and have no 441 441 -- symmetric deflateBack routines. -
vendor/current/lib/zlib/contrib/minizip/miniunz.c
r414 r740 537 537 538 538 strncpy(filename_try, zipfilename,MAXFILENAME-1); 539 /* strncpy doesn t append the trailing NULL, of the string is too long. */539 /* strncpy doesn't append the trailing NULL, if the string is too long. */ 540 540 filename_try[ MAXFILENAME ] = '\0'; 541 541 -
vendor/current/lib/zlib/contrib/minizip/minizip.c
r414 r740 78 78 79 79 strncpy(name, f,MAXFILENAME-1); 80 /* strncpy doesn t append the trailing NULL, of the string is too long. */80 /* strncpy doesn't append the trailing NULL, if the string is too long. */ 81 81 name[ MAXFILENAME ] = '\0'; 82 82 … … 254 254 zipok = 1 ; 255 255 strncpy(filename_try, argv[zipfilenamearg],MAXFILENAME-1); 256 /* strncpy doesn t append the trailing NULL, of the string is too long. */256 /* strncpy doesn't append the trailing NULL, if the string is too long. */ 257 257 filename_try[ MAXFILENAME ] = '\0'; 258 258 -
vendor/current/lib/zlib/contrib/minizip/unzip.c
r414 r740 160 160 Read a byte from a gz_stream; update next_in and avail_in. Return EOF 161 161 for end of file. 162 IN assertion: the stream s has been suc essfully opened for reading.162 IN assertion: the stream s has been successfully opened for reading. 163 163 */ 164 164 … … 296 296 /* 297 297 Compare two filename (fileName1,fileName2). 298 If iCaseSen isivity = 1, comparision is case sensitivity(like strcmp)299 If iCaseSen isivity = 2, comparision is not case sensitivity(like strcmpi298 If iCaseSensitivity = 1, comparison is case sensitive (like strcmp) 299 If iCaseSensitivity = 2, comparison is not case sensitive (like strcmpi 300 300 or strcasecmp) 301 If iCaseSen isivity = 0, case sensitivity is defaut of your operating system301 If iCaseSensitivity = 0, case sensitivity is default of your operating system 302 302 (like 1 on Unix, 2 on Windows) 303 303 -
vendor/current/lib/zlib/contrib/minizip/unzip.h
r414 r740 125 125 /* 126 126 Compare two filename (fileName1,fileName2). 127 If iCaseSen isivity = 1, comparision is case sensitivity(like strcmp)128 If iCaseSen isivity = 2, comparision is not case sensitivity(like strcmpi127 If iCaseSensitivity = 1, comparison is case sensitive (like strcmp) 128 If iCaseSensitivity = 2, comparison is not case sensitive (like strcmpi 129 129 or strcasecmp) 130 If iCaseSen isivity = 0, case sensitivity is defaut of your operating system130 If iCaseSensitivity = 0, case sensitivity is default of your operating system 131 131 (like 1 on Unix, 2 on Windows) 132 132 */ -
vendor/current/lib/zlib/contrib/minizip/zip.c
r414 r740 100 100 uLong avail_in_this_block; 101 101 uLong filled_in_this_block; 102 uLong unused; /* for future use and align ement */102 uLong unused; /* for future use and alignment */ 103 103 unsigned char data[SIZEDATA_INDATABLOCK]; 104 104 } linkedlist_datablock_internal; … … 118 118 119 119 uLong pos_local_header; /* offset of the local header of the file 120 current y writing */120 currently writing */ 121 121 char* central_header; /* central header data for the current file */ 122 122 uLong size_centralheader; /* size of the central header for cur file */ 123 123 uLong flag; /* flag of the file currently writing */ 124 124 125 int method; /* compression method of file current y wr.*/125 int method; /* compression method of file currently wr.*/ 126 126 int raw; /* 1 for directly writing raw data */ 127 127 Byte buffered_data[Z_BUFSIZE];/* buffer contain compressed data to be writ*/ -
vendor/current/lib/zlib/contrib/puff/puff.c
r414 r740 586 586 * the list of code lengths, a 0 symbol means no code, a 1..15 symbol means 587 587 * that length, and the symbols 16, 17, and 18 are run-length instructions. 588 * Each of 16, 17, and 18 are foll wed by extra bits to define the length of588 * Each of 16, 17, and 18 are followed by extra bits to define the length of 589 589 * the run. 16 copies the last length 3 to 6 times. 17 represents 3 to 10 590 590 * zero lengths, and 18 represents 11 to 138 zero lengths. Unused symbols
Note:
See TracChangeset
for help on using the changeset viewer.