aboutsummaryrefslogtreecommitdiff
path: root/archival
AgeCommit message (Collapse)Author
2001-06-04Revert the patch from Konstantin Boldyshev <konst@linuxassembly.org> to neverEric Andersen
change permissions on existing directories. This behavior is contrary to SUSv2 and contrary to GNU tar. Thanks to Matt Kraai for pointing this out. I should have been much more careful about accepting such a patch. -Erik
2001-05-24Fix up some signed char vs int issues that show up on powerpc.Eric Andersen
2001-05-23Patch from larry to fix some grammar errors.Eric Andersen
2001-05-22Make - read compressed data from stdin (thanks to Marius Groeger).Matt Kraai
2001-05-22Correctly remove leading slashes upon extraction (thanks to Marius Groeger).Matt Kraai
2001-05-17Remove unused function. If necessary, we can use remove_file instead.Matt Kraai
2001-05-16Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.cMatt Kraai
by Larry Doolittle.
2001-05-13Do not ever change permissions on existing directories, onlyEric Andersen
on directories we created while extracting a tarball. Fix based on bug report and patch from Konstantin Boldyshev <konst@linuxassembly.org> -Erik
2001-05-07Per some comments from Lars Kellogg-Stedman <lars@larsshack.org>,Eric Andersen
make xreadlink() return NULL on failure, and make sure everyone uses the interface correctly. -Erik
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