2
|
1 |
--- php-5.2.11/ext/zlib/my_zlib.h Thu Jan 25 04:13:36 2007
|
|
2 |
+++ php-5.2.11/ext/zlib/my_zlib.h Tue Oct 20 13:55:01 2009
|
|
3 |
@@ -1180,8 +1180,8 @@
|
|
4 |
degrade compression.
|
|
5 |
*/
|
|
6 |
|
|
7 |
-ZEXTERN z_off_t ZEXPORT gzseek OF((gzFile file,
|
|
8 |
- z_off_t offset, int whence));
|
5
|
9 |
+ZEXTERN int ZEXPORT gzseek OF((gzFile file,
|
|
10 |
+ int offset, int whence));
|
2
|
11 |
/*
|
|
12 |
Sets the starting position for the next gzread or gzwrite on the
|
|
13 |
given compressed file. The offset represents a number of bytes in the
|
|
14 |
@@ -1205,7 +1205,7 @@
|
|
15 |
gzrewind(file) is equivalent to (int)gzseek(file, 0L, SEEK_SET)
|
|
16 |
*/
|
|
17 |
|
|
18 |
-ZEXTERN z_off_t ZEXPORT gztell OF((gzFile file));
|
5
|
19 |
+ZEXTERN int ZEXPORT gztell OF((gzFile file));
|
2
|
20 |
/*
|
|
21 |
Returns the starting position for the next gzread or gzwrite on the
|
|
22 |
given compressed file. This position represents a number of bytes in the
|
|
23 |
@@ -1274,7 +1274,7 @@
|
|
24 |
*/
|
|
25 |
|
|
26 |
ZEXTERN uLong ZEXPORT adler32_combine OF((uLong adler1, uLong adler2,
|
|
27 |
- z_off_t len2));
|
5
|
28 |
+ int len2));
|
2
|
29 |
/*
|
|
30 |
Combine two Adler-32 checksums into one. For two sequences of bytes, seq1
|
|
31 |
and seq2 with lengths len1 and len2, Adler-32 checksums were calculated for
|
|
32 |
@@ -1298,7 +1298,7 @@
|
|
33 |
if (crc != original_crc) error();
|
|
34 |
*/
|
|
35 |
|
|
36 |
-ZEXTERN uLong ZEXPORT crc32_combine OF((uLong crc1, uLong crc2, z_off_t len2));
|
5
|
37 |
+ZEXTERN uLong ZEXPORT crc32_combine OF((uLong crc1, uLong crc2, int len2));
|
2
|
38 |
|
|
39 |
/*
|
|
40 |
Combine two CRC-32 check values into one. For two sequences of bytes,
|
|
41 |
--- php-5.2.11/ext/zlib/php_zlib.h.ORIG Tue Oct 20 13:56:27 2009
|
|
42 |
+++ php-5.2.11/ext/zlib/php_zlib.h Tue Oct 20 13:56:38 2009
|
|
43 |
@@ -22,7 +22,7 @@
|
|
44 |
#ifndef PHP_ZLIB_H
|
|
45 |
#define PHP_ZLIB_H
|
|
46 |
|
|
47 |
-#include <zlib.h>
|
|
48 |
+#include "my_zlib.h"
|
|
49 |
|
|
50 |
ZEND_BEGIN_MODULE_GLOBALS(zlib)
|
|
51 |
/* variables for transparent gzip encoding */
|