From 02cebebc3b3505ce9047f39386dd65d0f10efb51 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Wed, 28 Mar 2001 07:37:48 +0000 Subject: Remove cruft --- archival/gunzip.c | 4 ++-- archival/tar.c | 2 -- gunzip.c | 4 ++-- tar.c | 2 -- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/archival/gunzip.c b/archival/gunzip.c index 9d81031d7..0af6adbf7 100644 --- a/archival/gunzip.c +++ b/archival/gunzip.c @@ -125,13 +125,14 @@ unsigned short mask_bits[] = { //static int error_number = 0; /* ======================================================================== * Signal and error handler. - */ + static void abort_gzip() { error_msg("gzip aborted\n"); // exit(ERROR); return; } +*/ static void make_crc_table() { @@ -432,7 +433,6 @@ static int inflate_codes(huft_t *tl, huft_t *td, int bl, int bd) if (e == 16) { /* then it's a literal */ window[w++] = (unsigned char) t->v.n; if (w == WSIZE) { -// flush_output(w); outcnt=(w), flush_window(); w = 0; diff --git a/archival/tar.c b/archival/tar.c index ef611531a..9be63ced8 100644 --- a/archival/tar.c +++ b/archival/tar.c @@ -284,11 +284,9 @@ extern int tar_main(int argc, char **argv) /* unzip tarFd in a seperate process */ if (unzipFlag == TRUE) { comp_file = fdopen(tarFd, "r"); - printf("1\n"); if ((tarFd = gz_open(comp_file, &pid)) == EXIT_FAILURE) { error_msg_and_die("Couldnt unzip file"); } - printf("2\n"); } #endif status = readTarFile(tarFd, extractFlag, listFlag, tostdoutFlag, diff --git a/gunzip.c b/gunzip.c index 9d81031d7..0af6adbf7 100644 --- a/gunzip.c +++ b/gunzip.c @@ -125,13 +125,14 @@ unsigned short mask_bits[] = { //static int error_number = 0; /* ======================================================================== * Signal and error handler. - */ + static void abort_gzip() { error_msg("gzip aborted\n"); // exit(ERROR); return; } +*/ static void make_crc_table() { @@ -432,7 +433,6 @@ static int inflate_codes(huft_t *tl, huft_t *td, int bl, int bd) if (e == 16) { /* then it's a literal */ window[w++] = (unsigned char) t->v.n; if (w == WSIZE) { -// flush_output(w); outcnt=(w), flush_window(); w = 0; diff --git a/tar.c b/tar.c index ef611531a..9be63ced8 100644 --- a/tar.c +++ b/tar.c @@ -284,11 +284,9 @@ extern int tar_main(int argc, char **argv) /* unzip tarFd in a seperate process */ if (unzipFlag == TRUE) { comp_file = fdopen(tarFd, "r"); - printf("1\n"); if ((tarFd = gz_open(comp_file, &pid)) == EXIT_FAILURE) { error_msg_and_die("Couldnt unzip file"); } - printf("2\n"); } #endif status = readTarFile(tarFd, extractFlag, listFlag, tostdoutFlag, -- cgit v1.2.3