Lines Matching refs:compress_opt
715 static char *compress_opt; /* compression type */ variable
1016 compress_opt = compress_malloc(strlen(BZIP) in main()
1018 (void) strcpy(compress_opt, BZIP); in main()
1020 compress_opt = compress_malloc(strlen(GZIP) in main()
1022 (void) strcpy(compress_opt, GZIP); in main()
1024 compress_opt = in main()
1026 (void) strcpy(compress_opt, COMPRESS); in main()
1028 compress_opt = compress_malloc(strlen(XZ) + 1); in main()
1029 (void) strcpy(compress_opt, XZ); in main()
1038 if (compress_opt != NULL) { in main()
1117 if (cflag && compress_opt != NULL) in main()
1120 if (rflag && !cflag && (compress_opt != NULL)) in main()
1169 if (compress_opt != NULL) in main()
4867 if (compress_opt != NULL) in done()
4868 (void) free(compress_opt); in done()
9200 usefile, compress_opt); in compress_back()
9203 verify_compress_opt(compress_opt); in compress_back()
9204 (void) execlp(compress_opt, compress_opt, in compress_back()
9235 compress_opt = compress_malloc(strlen(GZCAT) + 1); in check_compression()
9236 (void) strcpy(compress_opt, GZCAT); in check_compression()
9238 compress_opt = compress_malloc(strlen(GZIP) + 1); in check_compression()
9239 (void) strcpy(compress_opt, GZIP); in check_compression()
9243 compress_opt = compress_malloc(strlen(BZCAT) + 1); in check_compression()
9244 (void) strcpy(compress_opt, BZCAT); in check_compression()
9246 compress_opt = compress_malloc(strlen(BZIP) + 1); in check_compression()
9247 (void) strcpy(compress_opt, BZIP); in check_compression()
9251 compress_opt = compress_malloc(strlen(ZCAT) + 1); in check_compression()
9252 (void) strcpy(compress_opt, ZCAT); in check_compression()
9254 compress_opt = compress_malloc(strlen(COMPRESS) + 1); in check_compression()
9255 (void) strcpy(compress_opt, COMPRESS); in check_compression()
9259 compress_opt = compress_malloc(strlen(XZCAT) + 1); in check_compression()
9260 (void) strcpy(compress_opt, XZCAT); in check_compression()
9262 compress_opt = compress_malloc(strlen(XZ) + 1); in check_compression()
9263 (void) strcpy(compress_opt, XZ); in check_compression()
9272 if (strcmp(compress_opt, GZIP) == 0) { in add_suffix()
9277 } else if (strcmp(compress_opt, COMPRESS) == 0) { in add_suffix()
9282 } else if (strcmp(compress_opt, BZIP) == 0) { in add_suffix()
9287 } else if (strcmp(compress_opt, XZ) == 0) { in add_suffix()
9312 "'%s'...\n"), usefile, compress_opt); in decompress_file()
9314 verify_compress_opt(compress_opt); in decompress_file()
9315 (void) execlp(compress_opt, compress_opt, "-df", in decompress_file()
9317 vperror(1, gettext("Could not exec %s"), compress_opt); in decompress_file()
9337 "'%s'...\n"), usefile, compress_opt); in compress_file()
9352 verify_compress_opt(compress_opt); in compress_file()
9353 (void) execlp(compress_opt, compress_opt, NULL); in compress_file()
9354 vperror(1, gettext("Could not exec %s"), compress_opt); in compress_file()
9366 "'%s'...\n"), usefile, compress_opt); in uncompress_file()
9381 verify_compress_opt(compress_opt); in uncompress_file()
9382 (void) execlp(compress_opt, compress_opt, NULL); in uncompress_file()
9383 vperror(1, gettext("Could not exec %s"), compress_opt); in uncompress_file()