fflush(NULL);
fclose(compressed_file);
close(unzip_pipe[1]);
fflush(NULL);
fclose(compressed_file);
close(unzip_pipe[1]);
}
close(unzip_pipe[1]);
return(fdopen(unzip_pipe[0], "r"));
}
close(unzip_pipe[1]);
return(fdopen(unzip_pipe[0], "r"));
static void abort_gzip()
{
error_msg("gzip aborted\n");
static void abort_gzip()
{
error_msg("gzip aborted\n");
}
static void make_crc_table()
}
static void make_crc_table()
}
if (fwrite(window, 1, outcnt, out_file) != outcnt) {
}
if (fwrite(window, 1, outcnt, out_file) != outcnt) {
- error_msg_and_die("Couldnt write");
+ error_msg("Couldnt write");
+ _exit(EXIT_FAILURE);
}
bytes_out += (unsigned long) outcnt;
outcnt = 0;
}
bytes_out += (unsigned long) outcnt;
outcnt = 0;