aboutsummaryrefslogtreecommitdiff
path: root/archival
AgeCommit message (Collapse)Author
2001-06-29Add some missing includes to kill warnings when building with the defaultManuel Novoa III
Config.h and using gcc's -fno-builtin. There are probably other files with the similar problems. Also, if building against uClibc, don't include asm/unistd.h in syscalls.c and module_syscalls.c.
2001-06-27Fix a type promotion bug discivered and analyzed by Alan ModraEric Andersen
<amodra@bigpond.net.au>, which caused false checksum errors
2001-06-26rpm2cpio applet by Laurence AndersonGlenn L McGrath
2001-06-25Fix up some warnings that show up on ppcEric Andersen
2001-06-24Nore unarchive (and doc) fixes from Laurence AndersonGlenn L McGrath
2001-06-22cpio applet, and changes to associated codeGlenn L McGrath
2001-06-22comment cleanupTim Riker
2001-06-21Rewrote mkdir (and touched lots of things in the process).Matt Kraai
2001-06-21Support tar -C, per bug #1176Eric Andersen
-Erik
2001-06-21Add in (and ignore) tar -p, since we preserver permissions automatically.Eric Andersen
closes bug #1185 -Erik
2001-06-20it turs out, there was a nasty tar bug where bb tar would create leading dirsEric Andersen
with mode 0777 in all cases due to usask issues. Thanks to Matt Kraai for noticing and spotting the culprit. This makes bb tar behave just like GNU tar once again. -Erik
2001-06-20Initialise in_file to stdin, so it wont crash if no source specifiedGlenn L McGrath
2001-06-20Changed gz_open to ruturn a streamGlenn L McGrath
2001-06-20Reorganise unarchiving functions, more code re-use, only does single pass(no ↵Glenn L McGrath
more linked lists), basis for supporting a cpio (and cheaper untar) applet, but cpio applet isnt included in this. It effects ar, dpkg-deb applets only
2001-06-13Reorganise archive extraction codeGlenn L McGrath
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