diff options
Diffstat (limited to 'gzip.c')
-rw-r--r-- | gzip.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1381,7 +1381,7 @@ int length; | |||
1381 | (char *) window + start, length) != EQUAL) { | 1381 | (char *) window + start, length) != EQUAL) { |
1382 | fprintf(stderr, | 1382 | fprintf(stderr, |
1383 | " start %d, match %d, length %d\n", start, match, length); | 1383 | " start %d, match %d, length %d\n", start, match, length); |
1384 | errorMsg("invalid match"); | 1384 | errorMsg("invalid match\n"); |
1385 | } | 1385 | } |
1386 | if (verbose > 1) { | 1386 | if (verbose > 1) { |
1387 | fprintf(stderr, "\\[%d,%d]", start - match, length); | 1387 | fprintf(stderr, "\\[%d,%d]", start - match, length); |
@@ -2911,7 +2911,7 @@ int eof; /* true if this is the last block for a file */ | |||
2911 | #endif | 2911 | #endif |
2912 | /* Since LIT_BUFSIZE <= 2*WSIZE, the input data must be there: */ | 2912 | /* Since LIT_BUFSIZE <= 2*WSIZE, the input data must be there: */ |
2913 | if (buf == (char *) 0) | 2913 | if (buf == (char *) 0) |
2914 | errorMsg("block vanished"); | 2914 | errorMsg("block vanished\n"); |
2915 | 2915 | ||
2916 | copy_block(buf, (unsigned) stored_len, 0); /* without header */ | 2916 | copy_block(buf, (unsigned) stored_len, 0); /* without header */ |
2917 | compressed_len = stored_len << 3; | 2917 | compressed_len = stored_len << 3; |
@@ -3094,7 +3094,7 @@ local void set_file_type() | |||
3094 | bin_freq += dyn_ltree[n++].Freq; | 3094 | bin_freq += dyn_ltree[n++].Freq; |
3095 | *file_type = bin_freq > (ascii_freq >> 2) ? BINARY : ASCII; | 3095 | *file_type = bin_freq > (ascii_freq >> 2) ? BINARY : ASCII; |
3096 | if (*file_type == BINARY && translate_eol) { | 3096 | if (*file_type == BINARY && translate_eol) { |
3097 | errorMsg("-l used on binary file"); | 3097 | errorMsg("-l used on binary file\n"); |
3098 | } | 3098 | } |
3099 | } | 3099 | } |
3100 | 3100 | ||
@@ -3256,7 +3256,7 @@ char *env; /* name of environment variable */ | |||
3256 | 3256 | ||
3257 | /* Copy the program name first */ | 3257 | /* Copy the program name first */ |
3258 | if (oargc-- < 0) | 3258 | if (oargc-- < 0) |
3259 | errorMsg("argc<=0"); | 3259 | errorMsg("argc<=0\n"); |
3260 | *(nargv++) = *(oargv++); | 3260 | *(nargv++) = *(oargv++); |
3261 | 3261 | ||
3262 | /* Then copy the environment args */ | 3262 | /* Then copy the environment args */ |