aboutsummaryrefslogtreecommitdiff
path: root/archival/rpm2cpio.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rpm2cpio: code shrinkDenys Vlasenko2009-08-281-11/+10
| | | | | | | | | | 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>
* rpm2cpio: handle unseekable input correctlyDenys Vlasenko2009-08-281-7/+10
| | | | | | | | | | | | | | 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>
* rpm2cpio: handle bz2 too; code shrinkPascal Bellard2009-08-281-29/+48
| | | | | | | | | | | 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>
* whitespace fixesDenis Vlasenko2008-03-281-8/+8
|
* add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko2007-10-111-1/+1
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* gunzip: support concatenated gz files.Denis Vlasenko2007-10-051-1/+0
| | | | | | | text data bss dec hex filename 770988 1029 9552 781569 bed01 busybox.t0/busybox 771105 1029 9552 781686 bed76 busybox.t3/busybox
* rmp: add optional support for bz2 data. +50 bytes of codeDenis Vlasenko2007-06-081-1/+1
|
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* bunzip2/gunzip/uncompress/unlzma: merge into common code -Denis Vlasenko2007-03-071-1/+1
| | | | fix few corner cases, reduce size by 450 bytes. Update testsuite.
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko2006-10-201-2/+2
|
* g[un]zip: add support for -v (verbose).Denis Vlasenko2006-10-011-4/+4
| | | | | Add CONFIG_DESKTOP, almost all bloat from this change is hidden under that.
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-6/+1
| | | | | | | | | | 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.)
* Cleaup read() and write() variants, plus a couple of new functions likeRob Landley2006-07-161-3/+3
| | | | xlseek and fdlength() for the new mkswap.
* Add one-line GPL boilerplate to numerous (but not all yet) source files."Robert P. J. Day"2006-07-121-13/+1
|
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-1/+1
| | | | definitions. (That should only be on prototypes.)
* Patch from Bernhard Fischer to make a bunch of symbols staticEric Andersen2005-04-161-1/+1
| | | | which were otherwise cluttering the global namespace.
* s/fileno\(stdin\)/STDIN_FILENO/gEric Andersen2004-03-271-2/+2
| | | | s/fileno\(stdout\)/STDOUT_FILENO/g
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-1/+1
|
* s/u_int/uint/gEric Andersen2004-01-301-9/+9
|
* Move from read_gz to the pipe()+fork() method.Glenn L McGrath2003-11-151-2/+1
| | | | | | | | | 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.
* Major coreutils update.Manuel Novoa III2003-03-191-9/+9
|
* Call lseek directly rather than via data_align()Glenn L McGrath2002-11-031-1/+1
|
* Fix an obvious thinkoEric Andersen2002-10-181-1/+1
| | | | -Erik
* Fix compress support and prevent a segfaultGlenn L McGrath2002-09-271-0/+6
|
* New common unarchive code.Glenn L McGrath2002-09-251-23/+34
|
* Use fopen wrapper.Matt Kraai2001-11-121-2/+1
|
* Standard typing (u_int16_t instead of u16, u_int32_t insteadEric Andersen2001-08-291-13/+9
| | | | of u32, etc) cleanups from Laurence Anderson <laurence@zxmail.com>
* Call setvbuf from here isntead of gz_open for compatability with uclibcGlenn L McGrath2001-07-131-0/+3
|
* rpm2cpio applet by Laurence AndersonGlenn L McGrath2001-06-261-0/+92