aboutsummaryrefslogtreecommitdiff
path: root/archival
AgeCommit message (Collapse)Author
2001-05-07woops, forgot the break statmentGlenn L McGrath
2001-05-07Tolerate -q argument, if -q is passed give a warning and continue rather ↵Glenn L McGrath
than just fail
2001-05-01Skip headers with empty filenames, rather than stopping.Matt Kraai
2001-04-30Made new xreadlink function for libbb and changed applets to use it instead ofMark Whitley
readlink(2).
2001-04-29Logic reversal for last_char_isGlenn L McGrath
2001-04-26Another nice cleanup from Larry. This adds a new last_char_is() function andEric Andersen
uses it to avoid possible buffer underruns whn strlen is zero, and avoid the possible space-hogging inline of strlen() in several cases. -Erik
2001-04-25Move messages.c to libbb. Make each string in messages.c be its own .o file.Eric Andersen
This way, we can new get rid of all that tedious #define rubbish we used to need to enable specific messages. This way is enormously simpler, and as a bonus also ends up saving us 96 bytes. -Erik
2001-04-18Eliminate spurious warning, convert to getopt, and eliminate redundant check.Matt Kraai
2001-04-18Fix a number of problems with argument handling.Matt Kraai
2001-04-18Eliminate a segfault when called on an existing file with out an extension:Matt Kraai
touch foo && gunzip foo
2001-04-18Eliminated seeks so that we work correctly on pipes, and removed reliance onMatt Kraai
undefined evaluation ordering. Thanks to Anthony Towns for explanation and solution.
2001-04-18Fix zcat/gunzip when reading from stdinGlenn L McGrath
2001-04-16Write full status fileGlenn L McGrath
2001-04-16dpkg improvements, use full package struct, avoid extracting to tmp dir, ↵Glenn L McGrath
rename variable. deb_extract, untar and dpkg_deb modified to make the above possible
2001-04-13dpkg-deb -f and partial -I commands, adds 600 bytesGlenn L McGrath
2001-04-12Rename variable that shadows globalGlenn L McGrath
2001-04-12New dpkg-deb function -t, stands for --fsys-tarfileGlenn L McGrath
2001-04-12dpkg-deb -c works nowGlenn L McGrath
2001-04-12Fix dpkg-deb, enum's are coolGlenn L McGrath
2001-04-11readTarFile changed from exter nto staticGlenn L McGrath
2001-04-11copy_file_chunk uses streams now.Glenn L McGrath
2001-04-11Disable sigtermGlenn L McGrath
2001-04-11replace getOctal with strtol( , NULL, 8)Glenn L McGrath
saves 100 Bytes
2001-04-11Gzip is indepenedent of gunzipGlenn L McGrath
2001-04-11Move unzip, gz_open, gz_close to libbbGlenn L McGrath
2001-04-11Move deb_extract() to libbb, dpkg now independent of dpkg-debGlenn L McGrath
2001-04-11Move get_ar_headers to libbb, make dpkg_deb.c independent of ar.cGlenn L McGrath
2001-04-09Apply Vladimir's latest cleanup patch.Eric Andersen
-Erik
2001-04-08Reorganise status field to use 3 chars instead of one bit shifted long int.Glenn L McGrath
Generates status file properly now, not compatable with full dpkg yet.
2001-04-08Use create_path instead of mkdirGlenn L McGrath
2001-04-08It now correctly backs up the (still corrupt) status fileGlenn L McGrath
2001-04-08Some fixes, but still broken... (cont)Glenn L McGrath
Make better use of some libbb functions New remove dir code to avoid depending on the rm applet dont use copy_file() it doesnt fail elegantly Use getopt. Generate correct /var/lib/dpkg/info/ files Status file is broken, working on it now
2001-04-07Ignore SIGTERM prior to gz_close()Glenn L McGrath
2001-04-07Fix warningGlenn L McGrath
2001-04-05A first pass at making D_FILE_OFFSET_BITS=64 work, fromEric Andersen
Jari Ruusu <jari.ruusu@pp.inet.fi>
2001-04-05It seems all the stdout munging was useless anyways, sinceEric Andersen
deb_extract and all its called functions do nothing with stdout anyways. Axe that stuff. -Erik
2001-04-05dpkg_deb had not been updated for the new gunzip interface. Fix it.Eric Andersen
-Erik
2001-04-05A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewEric Andersen
shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can handle them sanely and all at once. -Erik
2001-03-29gz_open and gz_close were left in, even when BB_FEATURE_TAR_GZIP was disabled.Eric Andersen
Fix that.
2001-03-29Fix zcatGlenn L McGrath
2001-03-29gunzip -c works againGlenn L McGrath
2001-03-28Fixes from Robert KaiserGlenn L McGrath
2001-03-28Remove cruftGlenn L McGrath
2001-03-28Remove tar_unzip_init() not needed any more, uses gz_open insteadGlenn L McGrath
2001-03-28Fix tar -z, calls gz_open nowGlenn L McGrath
2001-03-28Gunzip changes broke tar -z support (woops)Glenn L McGrath
2001-03-28Major cleanup to better adhere to style guide and use standard busybox functionsGlenn L McGrath
2001-03-28Add functions that were shared with gunzip.c, gunzip about to change.Glenn L McGrath
2001-03-21Clean up more local vars which shadow globalsEric Andersen
-Erik
2001-03-15If only BB_DPKG was enabled in Config.h, busybox would not build; it'd say:Mark Whitley
dpkg.c:18: #error It looks like you are using libc5, which does not support dpkg.c:19: #error tfind(). tfind() is used by busybox dpkg. dpkg.c:20: #error Please disable BB_DPKG. Sorry. This was fixed by changing the || to an && in the preprocessor. (We've changed the logic in there too many times.) Found using multibuild.pl.