summaryrefslogtreecommitdiff
path: root/archival/rpm2cpio.c
AgeCommit message (Collapse)Author
2010-06-02*: simplify checks for gz/bz2/xz magicDenys Vlasenko
function old new delta send_tree 360 355 -5 rpm2cpio_main 249 220 -29 setup_unzip_on_fd 150 118 -32 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-66) Total: -66 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-05-30rpm2cpio: teach it to understand xz formatDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-05-06rpm: code shrink. Now uses open_zipped's logic (factored out into ↵Denys Vlasenko
setup_unzip_on_fd()) function old new delta setup_unzip_on_fd - 80 +80 open_zipped 176 113 -63 rpm_main 1672 1355 -317 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/2 up/down: 80/-380) Total: -300 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-08-28rpm2cpio: code shrinkDenys Vlasenko
function old new delta skip_header 94 92 -2 rpm2cpio_main 177 174 -3 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-5) Total: -5 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-08-28rpm2cpio: handle unseekable input correctlyDenys Vlasenko
function old new delta data_skip 14 20 +6 seek_by_jump 67 72 +5 data_align 81 84 +3 seek_by_read 20 19 -1 skip_header 99 94 -5 rpm2cpio_main 183 177 -6 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/3 up/down: 14/-12) Total: 2 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-08-28rpm2cpio: handle bz2 too; code shrinkPascal Bellard
function old new delta skip_header 142 99 -43 rpm2cpio_main 321 183 -138 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-181) Total: -181 bytes Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2008-03-28whitespace fixesDenis Vlasenko
2007-10-11add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko
EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
2007-10-05gunzip: support concatenated gz files.Denis Vlasenko
text data bss dec hex filename 770988 1029 9552 781569 bed01 busybox.t0/busybox 771105 1029 9552 781686 bed76 busybox.t3/busybox
2007-06-08rmp: add optional support for bz2 data. +50 bytes of codeDenis Vlasenko
2007-05-26usage.c: remove reference to busybox.hDenis Vlasenko
*: s/include "busybox.h"/include "libbb.h"
2007-03-07bunzip2/gunzip/uncompress/unlzma: merge into common code -Denis Vlasenko
fix few corner cases, reduce size by 450 bytes. Update testsuite.
2007-02-03suppress warnings about easch <applet>_main() havingDenis Vlasenko
no preceding prototype
2006-10-20message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko
2006-10-01g[un]zip: add support for -v (verbose).Denis Vlasenko
Add CONFIG_DESKTOP, almost all bloat from this change is hidden under that.
2006-08-03Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley
things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
2006-07-16Cleaup read() and write() variants, plus a couple of new functions likeRob Landley
xlseek and fdlength() for the new mkswap.
2006-07-12Add one-line GPL boilerplate to numerous (but not all yet) source files."Robert P. J. Day"
2006-03-06Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley
definitions. (That should only be on prototypes.)
2005-04-16Patch from Bernhard Fischer to make a bunch of symbols staticEric Andersen
which were otherwise cluttering the global namespace.
2004-03-27s/fileno\(stdin\)/STDIN_FILENO/gEric Andersen
s/fileno\(stdout\)/STDOUT_FILENO/g
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-01-30s/u_int/uint/gEric Andersen
2003-11-15Move from read_gz to the pipe()+fork() method.Glenn L McGrath
open_transformer(), common code for pipe+fork. Function pointer for read() no longer needed. Allow inflate to be initialised with a specified buffer size to avoid over-reading. Reset static variables in inflate_get_next_window to fix a bug where only the first file in a .zip would be be extracted.
2003-03-19Major coreutils update.Manuel Novoa III
2002-11-03Call lseek directly rather than via data_align()Glenn L McGrath
2002-10-18Fix an obvious thinkoEric Andersen
-Erik
2002-09-27Fix compress support and prevent a segfaultGlenn L McGrath
2002-09-25New common unarchive code.Glenn L McGrath
2001-11-12Use fopen wrapper.Matt Kraai
2001-08-29Standard typing (u_int16_t instead of u16, u_int32_t insteadEric Andersen
of u32, etc) cleanups from Laurence Anderson <laurence@zxmail.com>
2001-07-13Call setvbuf from here isntead of gz_open for compatability with uclibcGlenn L McGrath
2001-06-26rpm2cpio applet by Laurence AndersonGlenn L McGrath