summaryrefslogtreecommitdiff
path: root/archival/tar.c
AgeCommit message (Collapse)Author
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 for0_49Eric 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
2000-12-19Be sure to read from the given path, not the one used in the header.Matt Kraai
2000-12-19Fix tar handling of absolute paths and excluded directories.Matt Kraai
2000-12-18Change calls to error_msg.* and strerror to use perror_msg.*.Matt Kraai
2000-12-13Patch from Matt Kraai:Eric Andersen
The following patch makes the -X option to tar behave like GNU, which reads one file per line. It also prevents the last file from being appended to the list twice (though that has no noticeable impact).
2000-12-13Fix from Matt Kraai -- a better way to NULL terminate strings for theEric Andersen
my_* passwd and group routines. I should have thought of doing it this way...
2000-12-10Support for tar -z option for uncompressing onlyGlenn L McGrath
2000-12-07Changed names of functions in utility.c and all affected files, to makeMark Whitley
compliant with the style guide. Everybody rebuild your tags file!
2000-12-07Patch from Jim Gleason <jimg@lineo.com> to fix tar so it no longer breaks hardEric Andersen
links, and no longer segfault in a certain wierd case.
2000-12-04Patch to add in the -X option and fix the --exclude bug, originally byEric Andersen
Sebastien Huet, and now ported to the latest and greatest by both Arne Bernin <ab@netropol.de> and kent robotti <robotti@metconnect.com>.
2000-12-01Make tar shutup on compileEric Andersen
2000-12-01Stop using TRUE and FALSE for exit status.Matt Kraai
2000-11-30Note an error if we are unable to list/extract specified files.Matt Kraai
2000-11-18Check for archive errors even for files we aren't extracting.Matt Kraai
2000-11-14Grammer fix. Changed "longer then" to "longer than". Fix thanks to JimEric Andersen
Gleason <jimg@lineo.com>.
2000-11-08Fix some bugs reported by Jim Gleason <jimg@lineo.com> and others IMatt Kraai
introduced.
2000-10-09Fix a thinko. Patch from Justus Pendleton <justus@acm.org>Eric Andersen
2000-09-25Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen
-Erik
2000-09-24Fix bug#1043 -- hanlde long filenames and links (in this case, by complainingEric Andersen
that thay exist and skipping such files when extracting and when archiving. -Erik
2000-09-23Fix an obscure option parsing bug.Eric Andersen
2000-09-19Reverted my conversion of tar to getopt to ensure tar canEric Andersen
handle traditional semantics (i.e. 'tar -xvf -' or 'tar xvf' now both work). -Erik
2000-09-15Updated stdin/stdout treatment to match that of gnu tar.Matt Kraai