equal
deleted
inserted
replaced
1 (1) renamed adler32.c -> zadler32.c, zcrc32c -> zcrc32.c |
1 (1) renamed adler32.c -> zadler32.c, zcrc32c -> zcrc32.c |
2 |
2 |
3 (2) zconf.h: |
3 (2) zconf.h: |
4 - added _LP64 to make uLong a 32-bit int on 64-bit platform |
4 - added _LP64 to make uLong a 32-bit int on 64-bit platform |
5 uLong -> 32-bit int |
5 uLong -> 32-bit int |
6 - commented out gz* related def |
|
7 |
6 |
8 -------------------------- |
7 -------------------------- |
9 35,37d10 |
8 35,37d10 |
10 < /* for _LP64 */ |
9 < /* for _LP64 */ |
11 < #include <sys/types.h> |
10 < #include <sys/types.h> |
12 < |
11 < |
13 89d61 |
12 421,424d393 |
14 < /* |
13 < |
15 128d99 |
|
16 < */ |
|
17 423,426d393 |
|
18 < |
|
19 < #ifdef _LP64 |
14 < #ifdef _LP64 |
20 < typedef unsigned int uLong; /* 32 bits or more */ |
15 < typedef unsigned int uLong; /* 32 bits or more */ |
21 < #else |
16 < #else |
22 428d394 |
17 426d394 |
23 < #endif |
18 < #endif |
24 -------------------------- |
19 -------------------------- |
25 |
20 |
26 (3) updated crc32.c/crc32(), crc32_z() |
21 (3) updated crc32.c/crc32(), crc32_z() |
27 unsigned long -> uLong |
22 unsigned long -> uLong |
49 > unsigned long ZEXPORT crc32(crc, buf, len) |
44 > unsigned long ZEXPORT crc32(crc, buf, len) |
50 > unsigned long crc; |
45 > unsigned long crc; |
51 |
46 |
52 -------------------------- |
47 -------------------------- |
53 |
48 |
|
49 (4) gzread.c |
54 |
50 |
55 (4) zutil.c |
|
56 commented out gz* |
|
57 -------------------------- |
51 -------------------------- |
58 33d8 |
52 343c319 |
59 < |
53 < n = (unsigned)len; |
60 35d9 |
54 --- |
61 < /* |
55 > n = len; |
62 37d10 |
56 424c400 |
63 < */ |
57 < len = (unsigned)gz_read(state, buf, len); |
|
58 --- |
|
59 > len = gz_read(state, buf, len); |
|
60 496c472 |
|
61 < ret = (int)gz_read(state, buf, 1); |
|
62 --- |
|
63 > ret = gz_read(state, buf, 1); |
|
64 -------------------------- |
|
65 |
|
66 (5) gzwrite.c |
|
67 |
|
68 -------------------------- |
|
69 236c212 |
|
70 < copy = (unsigned)len; |
|
71 --- |
|
72 > copy = len; |
|
73 256c232 |
|
74 < n = (unsigned)len; |
|
75 --- |
|
76 > n = len; |
64 -------------------------- |
77 -------------------------- |
65 |
78 |
66 |
79 |
|
80 |
67 |
81 |