extract_verbose_list = 1,
extract_list = 2,
extract_one_to_buffer = 4,
- extract_to_stdout = 8,
+ extract_to_stream = 8,
extract_all_to_fs = 16,
extract_preserve_date = 32,
extract_data_tar_gz = 64,
}
- if (function & extract_to_stdout) {
+ if (function & extract_to_stream) {
if (S_ISREG(file_entry->mode)) {
copy_file_chunk(src_stream, out_stream, file_entry->size);
archive_offset += file_entry->size;
{
deb_extract(pkg->local_filename, stream,
extract_control_tar_gz
- | extract_to_stdout, /* to stream actually */
+ | extract_to_stream,
NULL, "./control");
return 0;