diff options
Diffstat (limited to 'archival')
-rw-r--r-- | archival/gzip.c | 2 | ||||
-rw-r--r-- | archival/libunarchive/get_header_ar.c | 4 | ||||
-rw-r--r-- | archival/libunarchive/get_header_cpio.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/archival/gzip.c b/archival/gzip.c index ef3724c34..c9b67538e 100644 --- a/archival/gzip.c +++ b/archival/gzip.c | |||
@@ -1260,7 +1260,7 @@ int gzip_main(int argc, char **argv) | |||
1260 | } | 1260 | } |
1261 | } | 1261 | } |
1262 | 1262 | ||
1263 | return (exit_code); | 1263 | return exit_code; |
1264 | } | 1264 | } |
1265 | 1265 | ||
1266 | /* trees.c -- output deflated data using Huffman coding | 1266 | /* trees.c -- output deflated data using Huffman coding |
diff --git a/archival/libunarchive/get_header_ar.c b/archival/libunarchive/get_header_ar.c index d0791e99c..7f8c81ca0 100644 --- a/archival/libunarchive/get_header_ar.c +++ b/archival/libunarchive/get_header_ar.c | |||
@@ -68,12 +68,12 @@ char get_header_ar(archive_handle_t *archive_handle) | |||
68 | archive_handle->offset += ar_long_name_size; | 68 | archive_handle->offset += ar_long_name_size; |
69 | /* This ar entries data section only contained filenames for other records | 69 | /* This ar entries data section only contained filenames for other records |
70 | * they are stored in the static ar_long_names for future reference */ | 70 | * they are stored in the static ar_long_names for future reference */ |
71 | return (get_header_ar(archive_handle)); /* Return next header */ | 71 | return get_header_ar(archive_handle); /* Return next header */ |
72 | } else if (ar.formatted.name[1] == ' ') { | 72 | } else if (ar.formatted.name[1] == ' ') { |
73 | /* This is the index of symbols in the file for compilers */ | 73 | /* This is the index of symbols in the file for compilers */ |
74 | data_skip(archive_handle); | 74 | data_skip(archive_handle); |
75 | archive_handle->offset += typed->size; | 75 | archive_handle->offset += typed->size; |
76 | return (get_header_ar(archive_handle)); /* Return next header */ | 76 | return get_header_ar(archive_handle); /* Return next header */ |
77 | } else { | 77 | } else { |
78 | /* The number after the '/' indicates the offset in the ar data section | 78 | /* The number after the '/' indicates the offset in the ar data section |
79 | (saved in variable long_name) that conatains the real filename */ | 79 | (saved in variable long_name) that conatains the real filename */ |
diff --git a/archival/libunarchive/get_header_cpio.c b/archival/libunarchive/get_header_cpio.c index f0b07b56c..e0272003c 100644 --- a/archival/libunarchive/get_header_cpio.c +++ b/archival/libunarchive/get_header_cpio.c | |||
@@ -156,5 +156,5 @@ char get_header_cpio(archive_handle_t *archive_handle) | |||
156 | 156 | ||
157 | free(file_header->link_name); | 157 | free(file_header->link_name); |
158 | 158 | ||
159 | return (EXIT_SUCCESS); | 159 | return EXIT_SUCCESS; |
160 | } | 160 | } |