diff options
Diffstat (limited to 'archival')
-rw-r--r-- | archival/dpkg.c | 6 | ||||
-rw-r--r-- | archival/libunarchive/decompress_unzip.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/archival/dpkg.c b/archival/dpkg.c index 163d91f19..2180d1868 100644 --- a/archival/dpkg.c +++ b/archival/dpkg.c | |||
@@ -1316,8 +1316,8 @@ static void list_packages(void) | |||
1316 | /* go through status hash, dereference package hash and finally strings */ | 1316 | /* go through status hash, dereference package hash and finally strings */ |
1317 | for (i=0; i<STATUS_HASH_PRIME+1; i++) { | 1317 | for (i=0; i<STATUS_HASH_PRIME+1; i++) { |
1318 | 1318 | ||
1319 | if (status_hashtable[i]) { | 1319 | if (status_hashtable[i]) { |
1320 | const char *stat_str; /* status string */ | 1320 | const char *stat_str; /* status string */ |
1321 | const char *name_str; /* package name */ | 1321 | const char *name_str; /* package name */ |
1322 | const char *vers_str; /* version */ | 1322 | const char *vers_str; /* version */ |
1323 | char s1, s2; /* status abbreviations */ | 1323 | char s1, s2; /* status abbreviations */ |
@@ -1333,7 +1333,7 @@ static void list_packages(void) | |||
1333 | 1333 | ||
1334 | /* get abbreviation for status field 2 */ | 1334 | /* get abbreviation for status field 2 */ |
1335 | for (j=0, spccnt=0; stat_str[j] && spccnt<2; j++) { | 1335 | for (j=0, spccnt=0; stat_str[j] && spccnt<2; j++) { |
1336 | if (stat_str[j] == ' ') spccnt++; | 1336 | if (stat_str[j] == ' ') spccnt++; |
1337 | } | 1337 | } |
1338 | s2 = stat_str[j]; | 1338 | s2 = stat_str[j]; |
1339 | 1339 | ||
diff --git a/archival/libunarchive/decompress_unzip.c b/archival/libunarchive/decompress_unzip.c index c0203cc4a..74de9af44 100644 --- a/archival/libunarchive/decompress_unzip.c +++ b/archival/libunarchive/decompress_unzip.c | |||
@@ -29,7 +29,7 @@ | |||
29 | * Ken Turkowski, Dave Mack and Peter Jannesen. | 29 | * Ken Turkowski, Dave Mack and Peter Jannesen. |
30 | * | 30 | * |
31 | * See the file algorithm.doc for the compression algorithms and file formats. | 31 | * See the file algorithm.doc for the compression algorithms and file formats. |
32 | * | 32 | * |
33 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 33 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. |
34 | */ | 34 | */ |
35 | 35 | ||
@@ -853,7 +853,7 @@ int inflate_unzip(int in, int out) | |||
853 | /* Create the crc table */ | 853 | /* Create the crc table */ |
854 | gunzip_crc_table = crc32_filltable(0); | 854 | gunzip_crc_table = crc32_filltable(0); |
855 | gunzip_crc = ~0; | 855 | gunzip_crc = ~0; |
856 | 856 | ||
857 | /* Allocate space for buffer */ | 857 | /* Allocate space for buffer */ |
858 | bytebuffer = xmalloc(bytebuffer_max); | 858 | bytebuffer = xmalloc(bytebuffer_max); |
859 | 859 | ||