diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-16 22:46:01 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-16 22:46:01 +0100 |
commit | 425ad9c93b2736a0ebfbba6267bc1ad56c49d156 (patch) | |
tree | a927ce59974a130f40ac93537b5dacaed668e77b /archival/libunarchive | |
parent | dbc6a7a8fd33c79037c7f2894c24f271b714e3bc (diff) | |
download | busybox-425ad9c93b2736a0ebfbba6267bc1ad56c49d156.tar.gz |
libunarchive: move dpkg-specific things into dpkg.c. 0 byte size differences
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/libunarchive')
-rw-r--r-- | archival/libunarchive/Kbuild | 1 | ||||
-rw-r--r-- | archival/libunarchive/data_extract_to_buffer.c | 17 |
2 files changed, 0 insertions, 18 deletions
diff --git a/archival/libunarchive/Kbuild b/archival/libunarchive/Kbuild index 4bb81ce26..11d23b25f 100644 --- a/archival/libunarchive/Kbuild +++ b/archival/libunarchive/Kbuild @@ -11,7 +11,6 @@ COMMON_FILES:= \ data_skip.o \ data_extract_all.o \ data_extract_to_stdout.o \ - data_extract_to_buffer.o \ \ filter_accept_all.o \ filter_accept_list.o \ diff --git a/archival/libunarchive/data_extract_to_buffer.c b/archival/libunarchive/data_extract_to_buffer.c deleted file mode 100644 index 1d74e0335..000000000 --- a/archival/libunarchive/data_extract_to_buffer.c +++ /dev/null @@ -1,17 +0,0 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright 2002 Glenn McGrath - * - * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. - */ - -#include "libbb.h" -#include "unarchive.h" - -void FAST_FUNC data_extract_to_buffer(archive_handle_t *archive_handle) -{ - unsigned int size = archive_handle->file_header->size; - - archive_handle->buffer = xzalloc(size + 1); - xread(archive_handle->src_fd, archive_handle->buffer, size); -} |