aboutsummaryrefslogtreecommitdiff
path: root/archival/tar.c
AgeCommit message (Collapse)Author
2001-10-25Recovering from my previous commitGlenn L McGrath
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-10-13unarchive function changed to support both exclude and include lists, ↵Glenn L McGrath
applets that use unarchive changed to match.
2001-10-13Reverse part of previous change.... i think it was the wrong approach... im lostGlenn L McGrath
2001-10-13Match subdirectories of included/excluded filesGlenn L McGrath
2001-10-13Superficial changes to make the exclude/include code easier to understandGlenn L McGrath
2001-10-12Fix tar segfault when include list is empty and exclude list is not.Matt Kraai
2001-10-05Change extraction/list code to use common unarchive code.Glenn L McGrath
2001-08-24Canonicalize dirname(3) behavior.Matt Kraai
2001-07-13Move setvbuf calls from gz_open() to calling functions, setvbuf is only ↵Glenn L McGrath
supposed to be called prior to opening the stream, glibc tolerates later use, uclibc doesnt.
2001-07-10Read 20 512-byte blocks at a time (like GNU tar).Matt Kraai
2001-07-03Remove a redundant call to mkdir.Matt Kraai
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-20Changed gz_open to ruturn a streamGlenn 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-23Patch from larry to fix some grammar errors.Eric Andersen
2001-05-22Correctly remove leading slashes upon extraction (thanks to Marius Groeger).Matt Kraai
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-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-11readTarFile changed from exter nto staticGlenn L McGrath
2001-04-11replace getOctal with strtol( , NULL, 8)Glenn L McGrath
saves 100 Bytes
2001-04-11Move unzip, gz_open, gz_close to libbbGlenn 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-09A cleanup patch from Jeff Garzik to static-ify a number ofEric Andersen
namespace polluting things that really should be static.
2001-02-20It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen
header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
2001-02-14This patch, put together by Manuel Novoa III, is a merge of workEric Andersen
done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
2001-02-01Fix wget error message and add (and use) chomp library function.Matt Kraai
2001-01-31Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai
2001-01-27Fix up copyright msgs. Bump version to 0.49 in preparation forEric Andersen
a release. Update the website with release details. -Erik
2001-01-27Fix header file usage -- there were many unnecessary header files included inEric Andersen
busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik
2001-01-23#define -> static const int. Also got rid of some big static buffers.Mark Whitley
2001-01-22Use getopt (or getopt_long).Matt Kraai
2001-01-22Fixed listed files to extract to be more like GNU. Reported by Deon George.Matt Kraai
2001-01-20Close unused pipe handle before fork (for tar -z).Glenn L McGrath
2001-01-13Fix ownership of extracted directories.Matt Kraai
2001-01-03Behave like GNU tar when matching excluded files.Matt Kraai
2001-01-02add dpkg-deb commandGlenn L McGrath