31 |
if (ENABLE_FEATURE_SEAMLESS_GZ |
if (ENABLE_FEATURE_SEAMLESS_GZ |
32 |
&& strcmp(name_ptr, "gz") == 0 |
&& strcmp(name_ptr, "gz") == 0 |
33 |
) { |
) { |
34 |
archive_handle->action_data_subarchive = get_header_tar_gz; |
archive_handle->dpkg__action_data_subarchive = get_header_tar_gz; |
35 |
return EXIT_SUCCESS; |
return EXIT_SUCCESS; |
36 |
} |
} |
37 |
if (ENABLE_FEATURE_SEAMLESS_BZ2 |
if (ENABLE_FEATURE_SEAMLESS_BZ2 |
38 |
&& strcmp(name_ptr, "bz2") == 0 |
&& strcmp(name_ptr, "bz2") == 0 |
39 |
) { |
) { |
40 |
archive_handle->action_data_subarchive = get_header_tar_bz2; |
archive_handle->dpkg__action_data_subarchive = get_header_tar_bz2; |
41 |
return EXIT_SUCCESS; |
return EXIT_SUCCESS; |
42 |
} |
} |
43 |
if (ENABLE_FEATURE_SEAMLESS_LZMA |
if (ENABLE_FEATURE_SEAMLESS_LZMA |
44 |
&& strcmp(name_ptr, "lzma") == 0 |
&& strcmp(name_ptr, "lzma") == 0 |
45 |
) { |
) { |
46 |
archive_handle->action_data_subarchive = get_header_tar_lzma; |
archive_handle->dpkg__action_data_subarchive = get_header_tar_lzma; |
47 |
return EXIT_SUCCESS; |
return EXIT_SUCCESS; |
48 |
} |
} |
49 |
} |
} |