aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
Diffstat (limited to 'archival')
-rw-r--r--archival/gzip.c4
-rw-r--r--archival/tar.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/archival/gzip.c b/archival/gzip.c
index bfe762128..b6705425e 100644
--- a/archival/gzip.c
+++ b/archival/gzip.c
@@ -792,13 +792,13 @@ static void check_match(IPos start, IPos match, int length)
792typedef uch extra_bits_t; 792typedef uch extra_bits_t;
793 793
794/* extra bits for each length code */ 794/* extra bits for each length code */
795static const extra_bits_t extra_lbits[LENGTH_CODES]= { 795static const extra_bits_t extra_lbits[LENGTH_CODES]= {
796 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 796 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4,
797 4, 4, 5, 5, 5, 5, 0 797 4, 4, 5, 5, 5, 5, 0
798}; 798};
799 799
800/* extra bits for each distance code */ 800/* extra bits for each distance code */
801static const extra_bits_t extra_dbits[D_CODES] = { 801static const extra_bits_t extra_dbits[D_CODES] = {
802 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 802 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9,
803 10, 10, 11, 11, 12, 12, 13, 13 803 10, 10, 11, 11, 12, 12, 13, 13
804}; 804};
diff --git a/archival/tar.c b/archival/tar.c
index ee9007c47..2ba51adf7 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -673,7 +673,7 @@ static void handle_SIGCHLD(int status)
673 if (WIFEXITED(status) && WEXITSTATUS(status)==0) 673 if (WIFEXITED(status) && WEXITSTATUS(status)==0)
674 /* child exited with 0 */ 674 /* child exited with 0 */
675 return; 675 return;
676 /* Cannot happen? 676 /* Cannot happen?
677 if(!WIFSIGNALED(status) && !WIFEXITED(status)) return; */ 677 if(!WIFSIGNALED(status) && !WIFEXITED(status)) return; */
678 child_error = 1; 678 child_error = 1;
679} 679}