diff options
author | graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-11-26 19:41:18 (EST) |
---|---|---|
committer | graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-11-26 19:41:18 (EST) |
commit | 677c7152744313ef9b1195862dbf1761b5e3416d (patch) | |
tree | 9b5b23a6166e688d2901f935d24b00288b24dc15 | |
parent | 021752e0c0bfbafd1987b0932bf0f4556183c064 (diff) |
Name it after what it does: s/extract_to_stdout/extract_to_stream/
git-svn-id: http://opkg.googlecode.com/svn/trunk@388 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
-rw-r--r-- | libbb/libbb.h | 2 | ||||
-rw-r--r-- | libbb/unarchive.c | 2 | ||||
-rw-r--r-- | libopkg/pkg_extract.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libbb/libbb.h b/libbb/libbb.h index 0665921..2c9f2f1 100644 --- a/libbb/libbb.h +++ b/libbb/libbb.h @@ -81,7 +81,7 @@ enum extract_functions_e { 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, diff --git a/libbb/unarchive.c b/libbb/unarchive.c index 8f82a10..9517e46 100644 --- a/libbb/unarchive.c +++ b/libbb/unarchive.c @@ -121,7 +121,7 @@ extract_archive(FILE *src_stream, FILE *out_stream, } - 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; diff --git a/libopkg/pkg_extract.c b/libopkg/pkg_extract.c index d9fbdd5..d8b06a6 100644 --- a/libopkg/pkg_extract.c +++ b/libopkg/pkg_extract.c @@ -31,7 +31,7 @@ int pkg_extract_control_file_to_stream(pkg_t *pkg, FILE *stream) { deb_extract(pkg->local_filename, stream, extract_control_tar_gz - | extract_to_stdout, /* to stream actually */ + | extract_to_stream, NULL, "./control"); return 0; |